git - 如何破坏“git credential-'store”?
问题描述
生成新的 Repository 并添加 README 后,我尝试将其推送到 Git,但出现以下错误。
git credential-'store get: -c: line 0: unexpected EOF while looking for matching `''
git credential-'store get: -c: line 1: syntax error: unexpected end of file
git credential-'store get: -c: line 0: unexpected EOF while looking for matching `''
git credential-'store get: -c: line 1: syntax error: unexpected end of file
虽然全局和本地凭据是正确的。
我该如何纠正这个错误?
我在哪里可以找到导致它的文件?
解决方案
您可以通过运行找到包含有问题的 config 位的文件git config --list --show-origin
。
只需编辑文件以删除错误的配置行,您应该会很好
推荐阅读
- reactjs - 如何从 react 应用程序中获取 swapi?
- ibm-cloud - 通过 VPN 从云端连接到 Oracle On-premise
- javascript - 带有 Promise 的函数生成器
- c# - 当我的光标在嵌套的 ListBox 中时,如何滚动外部 ListBox?
- php - 将 FriendsOfSymfony/FOSElasticaBundle 6.0 版与 Symfony 3.4 一起使用?
- php - JSON PHP CURL 发布
- sql - MSSQL:如何使用 OR 运算符对两列进行 SELF JOIN
- scala - 使用反射访问 Amazon Deequ 中的方法
- python - 比较不同 Silo 的预测的相关误差
- javascript - 我还能在本地机器上保存持久性 cookie 吗?