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.
我有一个分支 2,它的源是分支 1,并重命名了一个源自分支 1 的目录。签出 branch1 时,重命名的目录仍然存在,但未标记为未暂存的修改。重命名的目录当然不会作为分支 1 上的提交出现。为什么会出现这种情况?
所述目录层次结构从未包含文件叶,这意味着它实际上没有被 git 跟踪。