Skip to content

Instantly share code, notes, and snippets.

@jperras
Created July 31, 2010 18:03
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jperras/502434 to your computer and use it in GitHub Desktop.
Save jperras/502434 to your computer and use it in GitHub Desktop.
.gitconfig
[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\"' -"
@jimiyash
Copy link

jimiyash commented Aug 2, 2010

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

because I am used to those svn aliases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment