Skip to content

Instantly share code, notes, and snippets.

@DennisTT
Created August 28, 2012 23:37
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 DennisTT/3505346 to your computer and use it in GitHub Desktop.
Save DennisTT/3505346 to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = Dennis Tsang
email = email@example.com
[color]
ui = true
[alias]
st = status
ci = commit
br = branch
sh = stash
shp = stash pop
shl = stash list
co = checkout
df = diff
dfc = diff --cached
lg = log -p
k = !gitk --all &
mine = log --author=dennis --format='%Cblue%h %Cgreen%ci %Creset%s'
mine-yesterday = log --author=dennis --format='%Cblue%h %Cgreen%ci %Creset%s' --since='yesterday'
chp = cherry-pick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment