Created
March 2, 2017 20:44
-
-
Save atheken/d9cf32750d97c94e5a58b17ea45e8048 to your computer and use it in GitHub Desktop.
Set the upstream branch to the same as the current for git.
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 config --global alias.up '! git branch -u origin/$(git symbolic-ref --short HEAD)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment