自Visual Studio 2019发布以来,我们一直在成功使用GitHub扩展。现在,突然之间,当我们推,拉或同步时,我们会在“输出”窗口中收到以下信息:
Warning: 'C:\ProgramData/Git/config' has a dubious owner: '(unknown)'. For security reasons, it is therefore ignored. To fix this, please transfer ownership to an admininstrator.
小智.. 21
您应该检查“ C:\ ProgramData / Git / config”是否确实存在。如果不是,则可以创建它并将以下内容粘贴到文件中:
[core] symlinks = false autocrlf = true fscache = true [color] diff = auto status = auto branch = auto interactive = true [help] format = html [rebase] autosquash = true
这对我有用。
您应该检查“ C:\ ProgramData / Git / config”是否确实存在。如果不是,则可以创建它并将以下内容粘贴到文件中:
[core] symlinks = false autocrlf = true fscache = true [color] diff = auto status = auto branch = auto interactive = true [help] format = html [rebase] autosquash = true
这对我有用。