Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In git, I created a new local branch and made various changes that have been committed. I'd like to now add this branch to the remote repository (not local master branch or origin/master remote branch.) How would I go about doing this?

share|improve this question
up vote 3 down vote accepted

Looks like I was able to create it like this:

git push origin BRANCH_NAME
share|improve this answer
Yup, that's it :) – voretaq7 May 12 '10 at 19:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.