Tuesday, February 1, 2011

How to get the master branch from central git server

To get a branch from central git repo (assuming you already cloned the central repo)
  1. Logon to the git repo on your local machine
  2. git branch TESTBRANCH
  3. git checkout TESTBRANCH
  4. Check that you have swtiched to that branch by running command git branch. * should be on the new branch

No comments:

Post a Comment