Choose a different branch in github

In github there are different branch for different version.

Therefore choose the right branch is essential.

I choose gr-ieee802-11 as example:

sudo git clone git://github.com/bastibl/gr-ieee802-11.git --branch master

or

git branch
git checkout -b master origin/master
git branch

update code: git pull

Reference

How to download a branch with git?

猜你喜欢

转载自www.cnblogs.com/WindyZ/p/10438381.html
今日推荐