Skip to content

Instantly share code, notes, and snippets.

@jbfink
Created May 29, 2012 18:30
Show Gist options
  • Save jbfink/2829910 to your computer and use it in GitHub Desktop.
Save jbfink/2829910 to your computer and use it in GitHub Desktop.
my .gitconfig aliases section
[alias]
co = checkout
ci = commit
st = status
br = branch
ca = commit -am
fuckit = reset --hard
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
type = cat-file -t
dump = cat-file -p
ps = push
pso = push origin
psom = push origin master
pl = pull
dh = diff HEAD HEAD^
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
fap = fetch --all --prune
aggro = repack -a -d --depth=250 --window=250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment