Skip to content

Instantly share code, notes, and snippets.

@laurencedorman
Created May 25, 2016 08:59
Show Gist options
  • Save laurencedorman/6ac28c4ed1d642b87154fcaf0797d958 to your computer and use it in GitHub Desktop.
Save laurencedorman/6ac28c4ed1d642b87154fcaf0797d958 to your computer and use it in GitHub Desktop.
[alias]
rb = rebase
undo = reset --soft HEAD^
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
lp = log --pretty=oneline --graph --all
lpr = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lo = log --oneline
fa = fetch --all
fetchap = fetch --all --prune
pullf = pull --ff-only
mergenf = merge --no-ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment