I run git add .
and then it does nothing for a while, and then says error: daemon terminated
. This happens with all commands, not just git add
How do I fix that? git status
does show a bit of information about changes to be committed, but still shows the same error
CodePudding user response:
There is indeed a daemon starting with Git 2.34 (Q4 2021), for the fsmonitor
, using the Simple-IPC protocol.
Check the version of Git used and, in case this is is a bug, try and upgrade it to the latest 2.38.1.
(Which is closed to what the OP Logos King mentions in the comments: "simply uninstalling and reinstalling git fixed the issue")
Check also the value of git config core.fsmonitor
(done from within your repository folder). Try and set it to false
to see if the issue persists.