git on windows shows modified files all the time, even for newly cloned repo

前端 未结 6 1902
你的背包
你的背包 2021-02-01 17:28

I am having issues with my git on a windows machine. I always have some git files that are modified in every repo, the files that show as modified are same.

If I clone

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-01 18:16

    I just had this problem and for me the fix turned out to be quite simple.

    Ensure there are no git processes currently running and then delete .git\index.lock.

    After this the modified state of my files were handled correctly.

提交回复
热议问题