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.
我想对子模块元数据使用旧行为。我应该使用什么命令行?
1)克隆存储库--recursive
2) 添加新的子模块
如果我正确理解了这个问题,您希望将子模块存储库放在.git子模块工作树的目录中,因为它曾经被存储。没有办法做到这一点。如果您的 git 版本支持在父存储库中存储存储库信息的新方法,则该方法将始终用于新的子模块。
.git