Skip to content

Instantly share code, notes, and snippets.

@acouch
Last active Apr 27, 2020
Embed
What would you like to do?
[alias]
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
[core]
filemode = false
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment