Skip to content

Instantly share code, notes, and snippets.

Last active Apr 27, 2020
What would you like to do?
co = checkout
st = status
cm = commit -m
pu = !git push origin `git rev-parse --abbrev-ref HEAD`
po = push origin
lgq = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -50
pf = push -f origin
rsh = !git reset --hard origin/`git rev-parse --abbrev-ref HEAD` && git pull
filemode = false
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment