Re:GitHub Flow Like a Pro with These 13 Git Aliases
by jdowner on Monday March 23, 2015 @06:30AM
(#9250177)
I like some of these. 'wip' and 'wipe' are two operations that I regularly used. However, as I entered them into my .gitconfig I couldn't help noticing that their similarity is something that would undoubtedly bite me on the arse at some time.
[ Parent
| on HN ]
Re:GitHub Flow Like a Pro with These 13 Git Aliases
by flurdy on Thursday March 26, 2015 @06:33AM
(#9268696)
Due to autocompletion and likelihood of accidentally accepting the wrong one of either of these I renamed my wipe alias to clean.
clean=!git add -A && git commit -m "TMP: Save before clean reset" && git reset HEAD~1 --hard
Re:GitHub Flow Like a Pro with These 13 Git Aliases
by flurdy on Thursday March 26, 2015 @11:04AM
(#9270111)
Note clean is a bad alias though as already a proper git command. I changed my alias again to ditch... :)