/ Published in: Bash
- # add reference to remote branch 'foo'
- git remote add foo git://github.com/foo/project.git
- # add branch based on reference (-b) and change to it (checkout)
- git checkout -b foo/master
- # confirm that foo/master is active
- git branch
- # pull branch
- git pull foo master
You need to login to post a comment.