Created
February 1, 2018 14:51
-
-
Save goodviber/d930cc5b549fdb84f06769a94c954c45 to your computer and use it in GitHub Desktop.
new local and remote branch
This file contains hidden or 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 checkout -b <branch> | |
Edit files, add and commit. Then push with the -u (short for --set-upstream) option: | |
git push -u origin <branch> | |
Git will set up the tracking information during the push. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment