Git: fatal: fsync error on 'sha1 file': Bad file descriptor

前端 未结 8 2908
既然无缘
既然无缘 2020-12-19 12:52

I\'m using VS Code with Git - it\'s in portable location C:\\_DEV\\bin\\git and is also added to Windows PATH so it works just fine with no remotes.

I have a OneDriv

相关标签:
8条回答
  • 2020-12-19 13:33

    I faced same issue. I just resolved this issue with the following steps:

    1- Close Visual Code

    2- Open project on git bash command line

    3- Commit the code again

    0 讨论(0)
  • 2020-12-19 13:35

    I have had this error a lot recently, and the above answers helped, but another thing that also seems to cause it is VS itself running.

    Try closing VS, then doing a "Git Bash Here" from Explorer and using the command line only.

    Once done you can then reopen VS.

    0 讨论(0)
提交回复
热议问题