.gitconfig

changeset 792
2693c3ccb0da
parent 791
5b1ae7f6ee1e
child 843
7968d9507ddb
--- a/.gitconfig
+++ b/.gitconfig
@@ -26,6 +26,21 @@
 	glog     = log --graph --pretty=onelinecustom
 	recent   = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f"
 
+[pretty]
+	onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset
+
+[ui]
+	color = true
+
+[core]
+	pager = LESS=FSRXi less
+
+[gpg]
+	program = "gpg2"
+
+[merge]
+	tool = vimdiff2
+
 [branch]
 	autosetuprebase = always
 	autosetupmerge  = always
@@ -34,21 +49,9 @@
 	verbose = true
 	gpgsign = true
 
-[core]
-	pager = LESS='FSRXi' less
-
 [diff]
 	compactionheuristic = true
 
-[gpg]
-	program = "gpg2"
-
-[merge]
-	tool = vimdiff2
-
-[pretty]
-	onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset
-
 [push]
 	default = current
 
@@ -63,9 +66,6 @@
 [transfer]
         fsckobjects = true
 
-[ui]
-	color = true
-
 # include.path is available in git 1.7.10 and later
 [include]
 	path = ~/.gitconfig.local

mercurial