Created
November 23, 2022 11:06
-
-
Save alaztetik/baab6799d606359344c3a66921fdca02 to your computer and use it in GitHub Desktop.
How to reach remote branches other than main
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
# list all the branches of upstream repository: | |
git branch -a | |
# checkout one of them: | |
git checkout remote/branch/name | |
# start committing on your local: | |
git checkout branch-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment