最新更新在拉,推或同步时带来Github错误 [英] Latest Update brings Github error on pull, push, or sync
本文介绍了最新更新在拉,推或同步时带来Github错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Visual Studio 2019中,自发行前以来,我们一直成功使用GitHub扩展.现在,突然之间,当我们推,拉或同步时,我们会在输出"窗口中收到以下内容:
In Visual Studio 2019, we have been using the GitHub extension successfully since before release. Now, all of the sudden, when we push, pull, or sync, we receive the following in the Output window:
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.
推荐答案
您应检查'C:\ ProgramData/Git/config'是否确实存在.如果没有,则可以创建它,并将以下内容粘贴到文件中:
You should check if 'C:\ProgramData/Git/config' actually exists. If it doesn't you can just create it and paste the following into the file:
[core]
symlinks = false
autocrlf = true
fscache = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[help]
format = html
[rebase]
autosquash = true
这对我有用.
这篇关于最新更新在拉,推或同步时带来Github错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文