Created
October 16, 2014 20:03
-
-
Save jasonrhodes/e9f3ef2990911bcea846 to your computer and use it in GitHub Desktop.
Because sometimes `gut punch origin master` is more accurate
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
# In ~/.bash_profile or ~/.profile, whichever you use | |
alias gut="git" | |
# In ~/.gitconfig | |
[alias] | |
punch = push | |
# Or maybe more acccurately | |
[alias] | |
punch = push -f | |
# Then afterwards: | |
$ source ~/.bash_profile | |
# or | |
$ source ~/.profile | |
# Then you can be all | |
$ gut punch origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment