insoul
9/26/2012 - 3:04 AM

git global config

git global config

[user]
	name = Foo
	email = foo@gmail.com
[color]
	diff = auto
	status = auto
	branch = auto
	interactive = auto
[merge]
	summary = true
	tool = vimdiff
[diff]
	tool = "git-diff-wrapper.sh"
[alias]
	st = status
	ci = commit -v
	cia = commit -v -a
	co = checkout
	br = branch
	ll = log --oneline --decorate
	l = log --color --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s%C(bold blue) %an%Creset %Cgreen%cr%Creset' --abbrev-commit
	lg = log --color --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)%an%Creset %Cgreen%cr%Creset ' --abbrev-commit --graph
	lm = log --color --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s%C(bold blue) %an%Creset %Cgreen%cr%Creset' --abbrev-commit master..
	lgm = log --color --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %C(bold blue)%an%Creset %Cgreen%cr%Creset ' --abbrev-commit --graph master..
[core]
	editor = /usr/bin/vim
	excludesfile = /Users/foo/.gitignore_global
	#autocrlf = true
[github]
	user = foo