X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.gitconfig;h=7bf84b449b157507b67169ec9a525ad08bb4842a;hb=5d8f7002236001775c4eb6982f1feda170ba0436;hp=adb19c03bc78c41fc28ee48713988ceb63521405;hpb=d4e0d2508023a0082b07c0b278084e513f1e0767;p=dotfiles.git diff --git a/.gitconfig b/.gitconfig index adb19c0..7bf84b4 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,19 +1,25 @@ [alias] b = branch + camend = commit --amend -C HEAD checkin = commit ci = commit co = checkout - l1 = log --oneline - l5 = log -5 - lb = log --decorate --graph --stat --pretty=beautiful - lb5 = log --decorate --graph --stat --pretty=beautiful -5 + d = diff + dc = diff --cached + l = log --decorate + l1 = log --decorate --oneline + l5 = log --decorate -5 lg = log --decorate --graph lg1 = log --decorate --graph --oneline lg5 = log --decorate --graph -5 - st = status -s - -[pretty] - beautiful = format:%Cblue%h%Creset (%ar - %Cgreen%aN <%aE>%Creset)%n%B%n + lr = log --decorate --reverse + lr1 = log --decorate --reverse --oneline + lr5 = log --decorate --reverse -5 + st = status --short + stb = status --short --branch + unstage = reset HEAD -- + wdiff = diff --word-diff + wshow = show --word-diff [color] ui = auto