Ideas en bits

🐍 Coder y ñoño en general 💻 Dev en @typeform, antes @eventbrite ⚽️ Cuervo de los azulgrana 📜 Me gusta hacer deducciones 🤖 Robot a media Jornada

Git Config

I use this git setting, with some cool alias that I collect from some clever colleagues.

[filter "media"]
    clean = git-media-clean %f
    smudge = git-media-smudge %f

[user]
    name = Ariel Parra
    email = <email>

[color]
    ui = auto

[color "status"]
    added = yellow
    changed = green bold
    untracked = magenta bold

[color "branch"]
    remote = yellow

[alias]
    st = status
    ci = commit -v
    br = branch
    co = checkout
    df = diff
    dc = diff --cached
    lg = log -p
    lol = log --graph --decorate --pretty=oneline --abbrev-commit
    lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
    ls = ls-files
    l = log --decorate --stat --graph --pretty=format:'%C(yellow)%h%Creset (%aD - %ar - %Cred%an%Creset), %s%n'
    ll = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    workprofile = config user.email \"<work_email>\"
    files = diff-tree --no-commit-id --name-only -r

[push]
    default = current

[github]
    user = darkaico

[core]
    editor = nano

[filter "lfs"]
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    process = git-lfs filter-process
    required = true

[branch]
    autosetuprebase = always
[gpg]
    program = /usr/local/bin/gpg
[merge]
    tool = vscode
[mergetool "vscode"]
    cmd = "code --wait "
[diff]
    tool = vscode
[difftool "vscode"]
    cmd = "code --wait --diff  "