Created
November 25, 2019 12:58
-
-
Save andrejb-dev/22ab96cffed2599d7beac37975195f71 to your computer and use it in GitHub Desktop.
GIT creating and pushing branch 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
# create new branch and switch to it | |
git checkout -b <branch_name> | |
# push the branch to the remote repository origin and tracks it | |
git push -u origin HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment