Skip to content

Instantly share code, notes, and snippets.

@gmassanek
Created April 10, 2012 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmassanek/2354902 to your computer and use it in GitHub Desktop.
Save gmassanek/2354902 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
email = your_email
name = Your Name
[core]
editor = vim
[color]
ui = true
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
l = log --graph --pretty=format':%C(yellow)%h%Cred%d%Creset %s %C(white) %an, %ar%Creset'
me = log --graph --pretty=format':%C(yellow)%h%Cred%d%Creset %s %C(white) %an, %ar%Creset' --author=Geoff
lp = log --pretty="format:'%h %ad | %an - %s%d'" --date=short
lgs = log --stat
ls = ls-files
pr = pull --rebase
aa = add --all
amend = commit --amend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment