git 仓库突然出现大量modified文件
多次使用git restore .
没有效果,无法恢复modified文件
git diff某个文件可以看到
old mode 100755
new mode 100644
文件访问权限变了,具体内容没有修改
解决方法:
git lfs install --skip-smudge
git config --global core.longpaths true
git init
git status可见:
nothing to commit, working tree clean