我已将 SVN 存储库移植到 GIT,但之前我有一个 svn:external 文件,但在 GIT 中无法识别。是否可以在具有单一文件源但签出到同一 repo 的其他目录中的 SVN 之类的外部文件中执行?
例如:
- test/img/hello.gif (original file)
- test2/img/hello.gif (references the first file)
- test3/img/hello.gif (references the first file)
我已经阅读了一些关于“sparse-checkout”的内容,但不确定您实际上如何仅引用/签出一个文件。