Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arekgotfryd/6281365bff8a8ae19e97e1973af07a4e to your computer and use it in GitHub Desktop.
Save arekgotfryd/6281365bff8a8ae19e97e1973af07a4e to your computer and use it in GitHub Desktop.
After doing some code changes on master local branch
you just have type following commands and you will create
new remote branch out of code changes
git checkout -b <new-branch-name>
git add .
git commit -m <new-branch-name>
git push -u origin <new-branch-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment