git clones only one branch?# Java - 爪哇娇娃
c*n
1 楼
if I do
git clone git://git.apache.org/cassandra.git
it gives me only the trunk branch, but they have many branches
I have to use the -b arg for clone to get the other branches.
"clone" clones a "repository", doesn't "repository" mean the collection of
all branches?
now, since I can't have all branches in my local repo, it's difficult to
compare the differences between trunk and another branch
git clone git://git.apache.org/cassandra.git
it gives me only the trunk branch, but they have many branches
I have to use the -b arg for clone to get the other branches.
"clone" clones a "repository", doesn't "repository" mean the collection of
all branches?
now, since I can't have all branches in my local repo, it's difficult to
compare the differences between trunk and another branch