警告:'C:\ProgramData/Git/config' 有一个可疑的所有者:'S-1-5-21-2380165290-1749897186-383349493-670437'

imj*_*bal 5 git github github-for-windows

warning: 'C:\ProgramData/Git/config' has a dubious owner: 'S-1-5-21-2380165290-1749897186-XXXXXXXXX-670437'.
For security reasons, it is therefore ignored.
To fix this, please transfer ownership to an admininstrator.
ERROR: Your account is suspended. Please check with your installation administrator.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

Git 配置文件值也很好。

在此输入图像描述

我可以通过维护者访问 GitHub 企业存储库。今天之前它一直在工作,只是我收到了错误。请帮我解决这个问题。谢谢。

Gen*_*hen 7

该错误似乎来自文件所有者问题。

尝试更改C:\\ProgramData\\Git\\config所有者,右键单击它 - >属性 - >安全 - >高级(含义类似,我没有使用英文版的Windows),然后将所有者更改为,例如,Administrator作为错误日志表示。