Last active
June 24, 2019 07:22
-
-
Save yuriburger/1026bc82112bf6477388bbbe612484ac to your computer and use it in GitHub Desktop.
[git commit & push to new branch] How to commit changes to new branch #git
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
// vim: syntax=bash | |
git checkout -b your-new-branch | |
git add . | |
git commit -m "Your commit message" | |
git push origin your-new-branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment