Saturday, 20 December 2014

Clone all branches with Git


clone project by 
git clone git://example.com/myproject

navigate project directory 
$ cd myproject

Check All branches
git branch -a

check out as
git checkout branchname

do like 
$ gitk --all &

to get all branch 

REF : http://stackoverflow.com/questions/67699/clone-all-remote-branches-with-git

No comments:

Post a Comment