X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.gitconfig;h=14b5b731bbf64bf50f75929c11dff77a3cfec89b;hb=e03dd11d8c4469a0f510d2a046442d504474cfc7;hp=43a30e5105ebc51c4a833c19796bf5925063c6a2;hpb=c6dfc5983f1fd26ae4aeb167b7d1f125a60caf83;p=dotfiles.git diff --git a/.gitconfig b/.gitconfig index 43a30e5..14b5b73 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,20 +1,18 @@ [alias] + amend = commit --amend -C HEAD b = branch checkin = commit + ca = commit --amend ci = commit co = checkout - l1 = log --oneline - l5 = log -5 - lb = log --decorate --graph --pretty=beautiful --stat - lb5 = log --decorate --graph --pretty=beautiful --stat -5 + d = diff + dc = diff --cached lg = log --decorate --graph lg1 = log --decorate --graph --oneline lg5 = log --decorate --graph -5 - st = status -s - stb = status -sb - -[pretty] - beautiful = format:%Cblue%h%Creset (%ar - %Cgreen%aN <%aE>%Creset)%n%B%n + st = status --short + stb = status --short --branch + wdiff = diff --word-diff [color] ui = auto