我是git/heroku等专业的新手,我根据https://devcenter.heroku.com/articles/getting-started-with-nodejs#deploy-the-app教程工作。
我在cmd中运行命令:
在最后一个命令之后,可能在窗口中显示我将用户名"“和密码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/'我真的不知道我现在该做什么。
发布于 2018-09-07 14:07:24
我终于解决了。我将.gitconfig文件从默认更改为
[credential]
helper = managerd至
[credential]
helper = manager我使用用户名“空白”代替"“(空字符串)及其工作。
https://stackoverflow.com/questions/52222409
复制相似问题