[user] email = hi@gxlin.org name = Guangxiong Lin signingkey = DC290711AFF905FA [commit] gpgsign = true [gpg] program = gpg [merge] tool = vimdiff [diff] tool = vimdiff [diff "gpg"] textconv = gpg -o- [core] attributesfile = ~/.gitattributes [alias] ap = add --patch # commit ci = commit -v cia = commit -v --amend cian = commit -v --amend --no-edit br = branch co = checkout st = status stsb = status --short --branch dt = difftool mt = mergetool # diff df = diff dfc = diff --cached dfm = diff --merge-base who = blame untrack = rm --cached unstage = restore --staged lo = log --oneline --graph --decorate loa = log --oneline --graph --decorate --all lol = log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' lols = log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --stat lola = log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --all cp = cherry-pick cpa = cherry-pick --abort cpc = cherry-pick --continue rb = rebase rbi = rebase -i rbc = rebase --continue rba = rebase --abort rbs = rebase --skip pl = pull plrb = pull --rebase # contrib # git-jump jp = jump jd = jump diff jm = jump merge jg = jump grep jw = jump ws # forgit fg = forgit [rebase] autosquash = true [url "git@github.com:"] insteadOf = "https://github.com/" [include] path = ~/.gitconfig_local