Quick notes on creating a local git branch and pushing it into the wild

December 6th, 2010 by andy Leave a reply »
  1. Checkout the branch you want to switch from
    git checkout branch_to_branch_from
  2. Create the local branch
    git branch branch_name
  3. Switch to the branch
    git checkout branch_name
  4. Push to Remote
    git push origin branch_name
Advertisement

Leave a Reply