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