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.
我有一个 git 存储库,现在我想将其中一个子目录(具有完整的历史记录)移动到一个单独的存储库中。
我知道这不是 git 的正确用例,但是在 git 中可以这样做吗?
考虑使用git subtree.
git subtree
现在内置在 msysgit v1.8.0 中。
自 v1.7.11 起包含在 git 中。
'重量转换器'
试图掌握使用存根的窍门,但我无法获得正确的格式,我有什么问题?我知道在这种情况下我已经在代码中使用了该方法,但我正在尝试学习如何正确执行存根。
测试:
describe "Convert Pounds to Kilo