【问题标题】:heroku git:remote -a command is not workingheroku git:remote -a 命令不起作用
【发布时间】:2021-10-02 04:43:55
【问题描述】:

heroku git:remote -a mymailapp-live

» 警告:heroku 更新从 7.53.0 到 7.59.0。 错误:命令失败:git remote 致命:不是 git 存储库(或任何父目录):.git

它显示我上面的错误。 请帮我。 我正在使用 heroku-cli 托管它。

【问题讨论】:

  • 您在错误的文件夹中。更确切地说,您所在的文件夹不是 git 存储库。

标签: python django heroku-cli


【解决方案1】:

键入**

~$ git 初始化

** 然后运行你的命令它应该可以工作并确保你的设备上安装了 git

【讨论】:

  • 正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-03-24
  • 2020-09-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-01-30
相关资源
最近更新 更多