【发布时间】:2018-10-19 01:31:14
【问题描述】:
我想做什么?
我正在尝试使用 PuTTY 克隆我的 heroku git 存储库:
git clone https://git.heroku.com/projectname.git
有什么问题?
当我克隆 heroku 存储库时,系统会提示我输入用户名和密码,因为 heroku 文档在here 中说(忽略用户名并输入您的帐户 API 密钥作为密码)。但这给了我这个错误:
remote: ! WARNING:
remote: ! Do not authenticate with username and password using git.
remote: ! Run `heroku login` to update your credentials, then retry the git command.
remote: ! See documentation for details:
fatal: Authentication failed for 'https://git.heroku.com/projectname.git/'
我还尝试在 heroku 中生成 SSH 密钥并提供该密钥作为我的密码,但仍然遇到相同的错误。
这对我来说是全新的,所以我很难接受。
任何帮助将不胜感激。
【问题讨论】: