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 并使用 sparse checkout 从单独的存储库中提取单个目录,那么事后有什么方法可以告诉该文件来自哪个存储库?
为了能够进行稀疏检出,您需要编辑文件.git/info/sparse-checkout以便您应该能够在那里找到它。