X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.gitconfig;h=c16415a947a8760147054b0b1f3e3bbecfabbcf0;hb=6ee35ff265f693a03780ac4dd5171bf8f64b9caf;hp=adb19c03bc78c41fc28ee48713988ceb63521405;hpb=d4e0d2508023a0082b07c0b278084e513f1e0767;p=dotfiles.git diff --git a/.gitconfig b/.gitconfig index adb19c0..c16415a 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,19 +1,26 @@ [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 + dshow = show --decorate + 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