Skip to content

Instantly share code, notes, and snippets.

@aratak
Created August 19, 2013 06:11
Show Gist options
  • Save aratak/6266133 to your computer and use it in GitHub Desktop.
Save aratak/6266133 to your computer and use it in GitHub Desktop.
git aliases
[alias]
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
head = !git l -1
h = !git head
r = !git --no-pager l -20
ra = !git r --all
ff = merge --ff-only
pullff = pull --ff-only
div = divergence
gn = goodness
gnc = goodness --cached
fa = fetch --all -p
st = status
ci = commit
co = checkout
br = branch
l = log --graph --abbrev-commit --date=relative
la = !git l --all
tree = !git la --oneline
subup = !git submodule -q foreach git pull -q origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment