Skip to content

Instantly share code, notes, and snippets.

@hastebrot
Last active August 29, 2015 14:11
Show Gist options
  • Save hastebrot/5ab244cd53a8a6e7f279 to your computer and use it in GitHub Desktop.
Save hastebrot/5ab244cd53a8a6e7f279 to your computer and use it in GitHub Desktop.
[alias]
fom = fetch origin master
mom = merge master origin/master
lg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit
pl = pull --ff-only
st = status
ci = commit
co = checkout
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
fa = fetch --all
pom = push origin master
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
head = !git lg -1
h = !git head
@maxstuhl
Copy link

maxstuhl commented Dec 8, 2014

Super Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment