我是git / heroku等的noob . 我按照教程https://devcenter.heroku.com/articles/getting-started-with-nodejs#deploy-the-app工作 .
我在cmd中运行命令:
-
heroku登录
-
cd node-js-getting-started
-
heroku创建(过去运行)
-
heroku auth:token
-
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/'
我真的不知道我现在该做什么 .
1 回答
我终于解决了 . 我从默认情况下更改了
.gitconfig
文件至
我使用用户名“blank”代替“”(空字符串)及其工作 .