我正在使用gitbash和git版本2.20.1.windows.1。 commit
,diff
,branch
都能正常工作,但是最基本的命令git status
失败了。错误信息如下,其中fileA
和fileB
是我的repo中被跟踪的文件:
$ git status
.gitignore: Function not implemented
fileA: Function not implemented
fileB: Function not implemented
fatal: cannot use .git/info/exclude as an exclude file
我在.git/info/exclude
和.gitignore
中没有发现任何异常。
GitHub桌面版显示了正确的status
,所以目前这是我的解决办法。
git version 2.20.1.windows.1
升级到git version 2.27.0.windows.1
后,我不再遇到这个错误了。 - Rintze Zelle