Last Updated: September 27, 2021
·
485
· ggenikus

My .gitconfig

[color "diff"]
     meta = yellow bold
     frag = magenta bold
     old = red
     new = cyan
 [color "status"]
     added = yellow
     changed = green
     untracked = cyan

 [alias]
    co = checkout
    cm = commit
    st = status
    last = log -1 HEAD --name-status
    br = branch
    mrg = merge --no-ff
    pf = pull --ff-only
    rb = rebase -p
    lla = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --author=ggenikus
    ll = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
 [push]
     default = simple