Reputation: 23576
I'm working on a rails app that I occasionally push to a staging server to test things out. I can easily push my local master to the remote master (I called it origin). I'm running into a problem where I'm trying out 2 frameworks, each in their own branch on my local machine. I'd like to see how the frameworks work on the remote server.
How can I push from local:Framework1 to remote:master (because the staging server has scripts that deploy master from the staging server's git repo)?
Upvotes: 1
Views: 108
Reputation: 3575
git push origin Framework1:refs/heads/master
should do the trick.
Upvotes: 1
Reputation: 1
Merge Framework1 into local master, then push origin master. You'll need to perform a clean merge locally before you start mucking up the remote server anyway.
Upvotes: 0