liumiaocn:angualr liumiao$ cat /usr/local/git/etc/gitconfig
[core]
excludesfile = ~/.gitignore
legacyheaders = false # >git 1.5
quotepath = false
[user]
# name = your name
# email = your@name
[mergetool]
keepbackup = true
[push]
default = simple # [ matching | simple ]
[color]
ui = auto
interactive = auto
[repack]
usedeltabaseoffset = true # >git 1.5
[alias]
s = status
a = !git add . && git status
au = !git add -u . && git status
aa = !git add . && git add -u . && git status
c = commit
cm = commit -m
ca = commit –amend # careful
ac = !git add . && git commit
acm = !git add . && git commit -m
l = log –graph –all –pretty=format:%c(yellow)%h%c(cyan)%d%creset %s %c(white)- %an, %ar%creset
ll = log –stat –abbrev-commit
lg = log –color –graph –pretty=format:%c(bold white)%h%creset -%c(bold green)%d%creset %s %c(bold green)(%cr)%creset %c(bold blue)<%an>%creset –abbrev-commit –date=relative
llg = log –color –graph –pretty=format:%c(bold white)%h %d%creset%n%s%n%+b%c(bold blue)%an <%ae>%creset %c(bold green)%cr (%ci) –abbrev-commit
d = diff
master = checkout master
spull = svn rebase
spush = svn dcommit
alias = !git config –list | grep alias\\. | sed s/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/ | sort
[include] # as of 1.7.10 https://github.com/git/git/commit/9b25a0b52e09400719366f0a33d0d0da98bbf7b0
path = ~/.gitcinclude
path = .githubconfig
path = .gitcredential
#[github]
# user =
# token =
[diff]
# git does copy/rename *detection*. if you want it to track copies/renames:
# http://stackoverflow.com/questions/1043388/record-file-copy-operation-with-git
# renames = copies
[diff “exif”]
textconv = exif
[credential]
helper = osxkeychain
liumiaocn:angualr liumiao$