I am trying to do a Rails 3 upgrade.
So what I did is a created a branch -b rails-3
I’ve been working in that branch
I want to push it into a remote repository (just in case something goes down on my local machine)
How do I do that?
If I do git push it says everything is up to date….
git push origin HEAD:refs/heads/branch-nameshould do the trick. It will create a branch calledbranch-nameon theoriginrepository and copy yourHEADto it.