Last active
December 13, 2017 23:50
-
-
Save bergmeister/9ce266a99841728c28fba8fb8023fc2b to your computer and use it in GitHub Desktop.
Everytime one wants to push a new branch to the remote, one has to set the upstream and git even tells us how to. This helper pushes it and automatically set the upstream.
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
git push -u 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