如何解决启动Github桌面(win10)错误:无法锁定配置文件,权限被拒绝
最近,每当我启动Github桌面时,我的Github桌面(Win10)开始显示以下警告 警告:运行C:\Users\li58\AppData\Local\GitHubDesktop\app-2.6.0\resources\app\git\mingw64\bin\git.exe'config'--global'--replace all''filter.lfs.clean''git lfs clean--%f''时出错:警告:无法访问'C:/WINDOWS/system32/config/systemprofile/.gitconfig':权限被拒绝 错误:无法锁定配置文件C:/WINDOWS/system32/config/systemprofile/.gitconfig:权限被拒绝“”退出状态255” 运行如何解决启动Github桌面(win10)错误:无法锁定配置文件,权限被拒绝,github,Github,最近,每当我启动Github桌面时,我的Github桌面(Win10)开始显示以下警告 警告:运行C:\Users\li58\AppData\Local\GitHubDesktop\app-2.6.0\resources\app\git\mingw64\bin\git.exe'config'--global'--replace all''filter.lfs.clean''git lfs clean--%f''时出错:警告:无法访问'C:/WINDOWS/system32/config/syst
git lfs install--force
重置git配置
以下是我尝试过但没有解决的问题:
- 我已经完成了git lfs安装--force。它显示“Git LFS已初始化”。但我每次都会看到这个错误
- 我还重新安装了github,问题仍然存在
- 我在gitBash中尝试了
,它是作为admin打开的git-config--system--unset-credential.helper