Created
April 6, 2019 15:52
-
-
Save jgtaveras/30937f45d773c16efeb82bb4d0ba69b6 to your computer and use it in GitHub Desktop.
personal git aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
st = status | |
co = checkout | |
stashall = stash --include-untracked | |
aa = add --all | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
nuke = reset --hard HEAD | |
up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
cob = checkout -b | |
wip = commit -am "WIP" | |
save = !git add -A && git commit -m 'SAVEPOINT' | |
amend = commit -a --amend | |
undo = reset HEAD~1 --mixed | |
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment