How do you push just a single Git branch (and no other branches)? -


I am working on a local GIT repository. There are two branches, master and feature_x .

I want to push the remote code to feature_x , but I do not want to push the change on the Master branch.

Will my feature_x work from git push origin feature_x to feature_x branch already exists on the remote) Are you

I do not want to test it in my box, because I can not push the master right now.

Yes, just do the following

  git checkout feature_x git push origin Feature_x  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -