Created
November 22, 2017 18:33
-
-
Save nelsonenzo/3842268a1871a303708f98a24732408d to your computer and use it in GitHub Desktop.
current ~/.gitconfig with "git shove" alias for pushing new branches upstream.
This file contains hidden or 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
# This is Git's per-user configuration file. | |
[user] | |
name = Nelbo Baggins | |
email = [email protected] | |
[alias] | |
shove = "!git push --set-upstream origin \"$(git rev-parse --abbrev-ref HEAD)\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment