Created
August 18, 2022 20:16
-
-
Save iandesj/ff626dbfb96a863d57fb1791d958a447 to your computer and use it in GitHub Desktop.
git push-new
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 for setting upstream on origin for current branch | |
[alias] | |
push-new = ! 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