error: unable to create temporary file: Device or resource busy

Time:2021-6-1

error: unable to create temporary file: Device or resource busy

The error may be caused by: the windows file system cache may be damaged

Solution: you can make the directory work by executing the following command. Then, I turn fscache back on

git config --global core.fscache false
then
git push 
then
git config --global core.fscache true

reference resources:
https://stackoverflow.com/questions/21627588/git-unable-to-create-temporary-file-no-such-file-or-directory-only-for-cert