I am using gitbash and git version 2.20.1.windows.1.
branch all work fine, but
git status (the most basic command, surely?) fails. The error message is like this, where
fileB are the tracked files in my 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
I can’t spot anything strange about
GitHub Desktop shows me the correct
status, so that’s my workaround for now.
Jan 2019: Check if this is releated to the recent issue 1989
Disabling the fscache, reverting to 2.19.1 or moving the repo to the local drive fixes the problem.
git config --global core.fscache false
Updating to a newer version of Git for Windows of >= v2.21.0 should now solve this problem as well.
I no longer experienced this error after updating from git version 2.20.1.windows.1 to git version 2.27.0.windows.1
Answered By – VonC