首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从Heroku开始。自定义问题

从Heroku开始。自定义问题
EN

Stack Overflow用户
提问于 2018-09-07 12:17:36
回答 1查看 87关注 0票数 0

我是git/heroku等专业的新手,我根据https://devcenter.heroku.com/articles/getting-started-with-nodejs#deploy-the-app教程工作。

我在cmd中运行命令:

  • heroku登录
  • cd节点-js-入门
  • heroku create (在过去运行)
  • heroku auth:令牌
  • git推heroku大师

在最后一个命令之后,可能在窗口中显示我将用户名"“和密码heroku令牌放在哪里。

但在此之后,将显示如下:

代码语言:javascript
复制
     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/'

我真的不知道我现在该做什么。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-09-07 14:07:24

我终于解决了。我将.gitconfig文件从默认更改为

代码语言:javascript
复制
[credential]
helper = managerd

代码语言:javascript
复制
[credential]
helper = manager

我使用用户名“空白”代替"“(空字符串)及其工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52222409

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档