- Checkout the branch you want to switch from
git checkout branch_to_branch_from - Create the local branch
git branch branch_name - Switch to the branch
git checkout branch_name - Push to Remote
git push origin branch_name
Quick notes on creating a local git branch and pushing it into the wild
December 6th, 2010 by andy Leave a reply »
Advertisement