Created
December 19, 2014 14:57
-
-
Save reidev275/ae107ee6a4409fd0027a to your computer and use it in GitHub Desktop.
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] | |
cm = !git add -A && git commit -m | |
co = checkout | |
cob = "!f() { git checkout ${2-develop} && git up && git checkout -b ${1}; }; f" | |
ec = config --global -e | |
undo = reset HEAD~1 --mixed | |
up = pull --rebase --prune | |
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