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

前端 未结 8 2927
既然无缘
既然无缘 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:18

    Thanks to @edward-thomson.
    I had same problem on my PC, where i mapped a folder under my homedrive to E:

    C:\Users\myuserid\E-Folder\SomeGitProject
    

    by sharing the folder, so i could shortcut it to

    E:\SomeGitProject
    

    Solution was to use the full path in CMD or use the shortcut to homedrive from git bash:

    ~/E-Folder/SomeGitProject
    

    I guess your A: likewise is a share, that you can access with a full path probably also located somewhere under your homedrive.

提交回复
热议问题