]> git.phdru.name Git - dotfiles.git/blobdiff - .gitconfig
.gitconfig: add commit aliases
[dotfiles.git] / .gitconfig
index d6a5853a1836268a6d374b70a275d41ca9ca7c61..7dc2aa096fd115a2b9d14061550a707efc602e43 100644 (file)
@@ -1,20 +1,17 @@
 [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 --stat --pretty=beautiful
-       lb5 = log --decorate --graph --stat --pretty=beautiful -5
        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
 
 [color]
        ui = auto