Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 cloneBranch 更改为refs/heads/develop或develop,但它总是克隆主分支。那么,如何克隆开发分支?
refs/heads/develop
develop
不是结帐分支,这是 gitblit 的链接
您必须从主分支签出到其他分支才能克隆它
参考
https://git-scm.com/docs/git-checkout
https://try.github.io/levels/1/challenges/19