diff options
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -13,3 +13,34 @@ [core] excludesFile = ~/.gitignore attributesfile = ~/.gitattributes +[alias] + ap = add --patch + ci = commit + br = branch + co = checkout + st = status + stsb = status --short --branch + df = diff + dfc = diff --cached + dt = difftool + mt = mergetool + + rmc = rm --cached + untrack = rm --cached + + 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 |