1
我正在尝试追踪github项目的不同分支。 该项目是restful_authentication:跟踪github上的不同分支
http://github.com/technoweenie/restful-authentication
不过,我真的想克隆是模块化分支:
http://github.com/technoweenie/restful-authentication/tree/modular
我发现这个指南:
http://github.com/guides/showing-and-tracking-remote-branches
并尝试了几个命令:
git checkout --track -b lmod http://github.com/technoweenie/restful-authentication/tree/modular
和
git checkout --track -b lmod git://github.com/technoweenie/restful-authentication.git/modular
,但我收到以下错误:
fatal: git checkout: updating paths is incompatible with switching branches
上的正确方法有什么想法做到这一点?
感谢