public
Last active

.gitconfig

  • Download Gist
.gitconfig
INI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
[color]
diff = auto
status = auto
branch = auto
[user]
name = Joël Perras
email = joel.perras@gmail.com
[status]
relativePaths = false
[core]
excludesfile = /Users/joel/.gitignore
[alias]
d = diff
dc = diff --cached
lc = log ORIG_HEAD.. --stat --no-merges
gl = log --oneline --decorate --stat --graph
st = status -sb
prune-all = !git remote | xargs -n 1 git remote prune
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"

very cool. I also use
co = checkout
ci = commit

because I am used to those svn aliases

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.