我下载了一个巨大的代码库最新版本,我需要获取其中一个分支的最新版本以便测试。
我该怎么做?
当我使用命令
我该怎么做?
当我使用命令
git clone --depth 1 url
时,我得到了master分支的最新版本,而该分支似乎不存在?petanb@petrbena:~/Documents/mh$ git checkout flaggedrevs
error: pathspec 'flaggedrevs' did not match any file(s) known to git.