我将 Linux 上的 git 文件夹备份到 FAT32 外部驱动器上,稍后将其复制回来,它说
fatal: Not a git repository (or any of the parent directories): .git
可能出了什么问题?
最佳答案
要添加到您的答案中,有一个 proposition of a patch back in 2007允许使用像 ' head
这样的名称' 而不是仅 ' HEAD
'.
不用说,这个提议并没有受到完全欢迎:
Now, I realise that this might open a can of worms ... would we also want to go looking for files called "
pack-ab~1.pac
" ?天哪,不。
block 引用>所以,直到今天人们仍然在 that happens 时在 HEAD 中重命名头。 .
关于git - 我备份了一个git项目,并得到了 "fatal: Not a Git Repository",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1754108/