Skip to content

Instantly share code, notes, and snippets.

@colbyr
Created May 23, 2012 05:32
Show Gist options
  • Save colbyr/2773415 to your computer and use it in GitHub Desktop.
Save colbyr/2773415 to your computer and use it in GitHub Desktop.
Git Setup
[user]
name = Your Name
email = your@email.com
[core]
excludesfile = /Users/<yourusername>/.gitignore_global
[color]
ui = auto
[alias]
st = status
ci = commit
co = checkout
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
head = !git l -1
h = !git head
r = !git l -20
ra = !git r --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
l = "!source ~/.githelpers && pretty_git_log"
la = !git l --all
div = divergence
gn = goodness
gnc = goodness --cached
fa = fetch --all
pom = push origin master
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment