git: How to push a new branch to a remote repository

git push -u REMOTE BRANCH_NAME

This will also create an association between the local and the remote branch, so you can afterwards just issue git push.

Series Navigationgit: How to merge two commits into onegit: How to checkout a specific commit/version to a new branch

Leave a Reply

*

Posts’ Calendar
September 2014
M T W T F S S
« Mar   Sep »
1234567
891011121314
15161718192021
22232425262728
2930