May 162012
How to push to origin but a different branch using Git
Answer:
Assume you normally push your local changes to the remote's master branch, but what if you want to push the changes into another branch (e.g. testing)?
You can easily do this by using the command:
# git push origin master:testing