Created
July 18, 2023 10:58
-
-
Save joony786/476b66bf2b86a293fd82767d19061577 to your computer and use it in GitHub Desktop.
Git branch upstreams
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.set-upstream '!git branch --set-upstream-to=origin/$(git symbolic-ref --short HEAD)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment