Skip to content

Instantly share code, notes, and snippets.

@yuriburger
Last active June 24, 2019 07:22
Show Gist options
  • Save yuriburger/1026bc82112bf6477388bbbe612484ac to your computer and use it in GitHub Desktop.
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
// 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