5

git status 命令显示如下:

...
new file: DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/FileA
new file: DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/DirectoryA/FileA

等等等等。

我确实在同名目录中有一个目录,但只有两层深,而不是 git 认为的几十和几十。

让 git 恢复正常状态的最简单方法是什么,它是如何变成这样的?

4

0 回答 0