【发布时间】:2019-02-12 19:11:34
【问题描述】:
我是 git/heroku 等方面的菜鸟。我按照教程 https://devcenter.heroku.com/articles/getting-started-with-nodejs#deploy-the-app 工作。
我在 cmd 中运行命令:
- heroku 登录
- cd node-js-getting-started
- heroku create(过去运行)
- heroku 身份验证:令牌
- git push heroku master
在最后一个命令之后可能窗口显示我将用户名 "" 和密码 heroku 令牌放在哪里。
但之后,会显示:
C:\Users\Administrátor\node-js-getting-started>git push heroku master
git: 'credential-managerd' is not a git command. See 'git --help'.
The most similar command is
credential-manager
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: https://devcenter.heroku.com/articles/git#http-git-authentication
fatal: Authentication failed for 'https://git.heroku.com/afternoon-fjord-61446.git/'
我真的不知道我现在该怎么办。
【问题讨论】:
-
你关注这个
Do not authenticate with username and password using git. -
我使用从“heroku auth:token”获得的用户名“”(空)和密码令牌。
-
我认为问题是这个错误“git: 'credential-managerd' is not a git command.”
-
使用 id 密码登录 Heroku 仪表板
-
作品......?