Pages

Friday, January 31, 2014

Fetching a remote git branch

The following command will update your local repo with remote changes.
$ git fetch --all

After that use the following command:
git checkout --track origin/the_branch


No comments:

Post a Comment