【发布时间】:2020-11-19 08:07:07
【问题描述】:
我在 Windows 10 上使用“Git Bash here”窗口。我经常(但不总是)使用 git 命令:
$ git pull
warning: invalid credential line: Unable to initialize the New Relic .NET Agent log file. Please make sure the logs directory is writeable.
# after that warning, a standard git-gui--askpass window pops up to ask me for credentials.
我查看了this 和this 以及其他一些问题。他们没有帮助。
我已从 Windows 凭据管理器中删除 所有 git 相关凭据。
我已确定 New Relic .NET 代理不再安装在我的机器上(如果曾经安装过的话)。 我错了.. . 看我的回答
我最好的猜测是某处的某个文件中包含此文本
Unable to initialize the New Relic .NET Agent log file. Please make sure the logs directory is writeable.
那个 git 正在读取那个文件。我怎样才能知道它是什么文件?
关于我的机器的更多信息,略有删节:
$ git --version
git version 2.27.0.windows.1
$ git config -l
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=schannel
core.autocrlf=false
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager
user.name=rpresser
user.email=rpresser@****.com
gui.recentrepo=C:/Users/rpresser/source/repos/*****
gui.recentrepo=C:/Users/rpresser/source/repos/*****
$ cat ~/.gitconfig
[user]
name = rpresser
email = rpresser@****.com
[gui]
recentrepo = C:/Users/rpresser/source/repos/*****
recentrepo = C:/Users/rpresser/source/repos/*****
【问题讨论】:
标签: git git-credential-winstore