]> git.phdru.name Git - dotfiles.git/blobdiff - .gitconfig
Set LESS_TERMCAP_* for light and dark backgrounds
[dotfiles.git] / .gitconfig
index 57f758903a8acba196e78423cedc272d232fca53..701610db32b76078193d0c5241965cef3b2cfb0e 100644 (file)
@@ -5,7 +5,12 @@
        co = checkout
        l1 = log --oneline
        l5 = log -5
-       st = status
+       lb = log --decorate --graph --stat --pretty=beautiful
+       lb5 = log --decorate --graph --stat --pretty=beautiful -5
+       st = status -s
+
+[pretty]
+       beautiful = format:%Cblue%h%Creset (%ar - %Cgreen%aN <%aE>%Creset)%n%B%n
 
 [core]
        pager = less -FRSXgimq
@@ -18,6 +23,9 @@
 # 3 way diffs
 #      cmd = vim -d \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" -c \"wincmd J\"
 
+[receive]
+       denyNonFastForwards = true
+
 [web]
        browser = webbrowser