更新时间:2023-01-19 10:02:58
解决了.只是为了将来的搜索分享.
Solved it. Just sharing for future searches.
问题已通过在我的存储库文件夹中的命令行中运行 git init
然后 heroku git:remote -a worldofwarcraft-api
解决.这会在 repo 中初始化 git
,然后将 heroku git remote 设置为该存储库.
The issue was fixed by running git init
and then heroku git:remote -a worldofwarcraft-api
in my command line while inside my repositories folder. This initialized git
in the repo and then set the heroku git remote to that repository.
希望这对遇到类似问题的其他人有所帮助.
Hopefully, this helps anyone else who had a similar issue.