Created
April 4, 2017 13:46
-
-
Save vicneanschi/26a23668a9b4e5cbcf68379505b7617f to your computer and use it in GitHub Desktop.
git commands
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
In Git 1.7.0 and later, you can checkout a new branch: | |
git checkout -b <branch> | |
Edit files, add and commit. Then push with the -u 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