git - git: 'credential-chache' 不是 git 命令。见'git --help'
问题描述
我只是想摆脱这个错误信息。经过多次尝试使用保存我的凭据
`git config --global credential.helper cache`
和别的
credential.helper
方法,我决定使用
`ssh keypair authentication`
自动登录到我的 GitHub 帐户。我成功生成 ssh 密钥并将其添加到我的 GitHub 帐户,但是每当我使用
`git pull`
或者
`git push`
或任何与 github 服务器交互的命令
`git: 'credential-chache' is not a git command. See 'git --help'.`
被不必要地打印,尽管这些命令在不询问用户名或密码的情况下成功运行。
有什么办法可以摆脱这个消息?解决方案
推荐阅读
- android - 在 Android Studio 中生成签名的 apk 时发生错误
- java - 从配置中动态读取@JsonProperty
- sql-server - SQL Server全文搜索:词的解析形式不同的结果
- c# - Enterprise Architect的元素注释中未显示新行
- react-native - React Native:无法使用地理定位 API 访问位置
- python - Pandas:如何按索引值添加行值
- php - Doctrine ORM:按 2 个类别过滤文章
- angular - angular 2+中的通用组件+通用服务
- xml - 如何验证嵌套元素中的唯一属性?
- java - Tomcat 9 在 Ubuntu 上无法与 Java 10 一起使用