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恢复到理智状态的最简单方法是什么?它是如何得到这样的?