Git checkout分支从其他分支离开目录树(Git checkout branch leaves directory tree from other branch)
我有一个branch2,它的源是branch1,并重命名了一个源自branch1的目录。 检出branch1时,重命名的目录仍然存在,但未标记为未分级的修改。 重命名的目录当然不作为branch1上的提交存在。 为什么会这样?
I have a branch2 who's source is branch1 and renamed a directory originating from branch1. When checking out branch1 the renamed directory remains present but is not marked as an unstaged modification. The renamed directory is of course not present as a commit on branch1. Why is this occurring?
最满意答案
所述目录层次结构从不包含文件叶,这意味着它实际上没有被git跟踪。
The said directory hierarchy never contained a file leaf which means it was not actually tracked by git.
更多推荐
发布评论