This is an old revision of the document!


starting a new remote branch

(locally start the new branch)
git checkout -b new_feature_name

(push the new local branch to the shared repo)
git push origin new_feature_name

(other people pull changes)
git pull

(the new branch is now available, but not being tracked by any local branches)

(start tracking the remote branch with a new local branch)
git checkout --track -b new_branch origin/new_feature_name
  • docs/git/starting_a_new_remote_branch.1270232730.txt.gz
  • Last modified: 2010/04/02 12:25
  • by billh