Git远程heroku消失了

时间:2015-12-18 12:18:12

标签: git heroku

刚刚发生了一些奇怪的事情。我现在和一小时前开发并将我的应用程序推送到Heroku大约一个星期我突然得到了这个错误:

Pushing master to heroku
Warning: fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Use --force to continue.

有些东西从我的配置中移除了heroku远程,我想。但仔细观察发现遥控器仍然是指定的:

D:\wamp\www\heroku\sodexo-poc\poc>git remote -v
heroku  https://git.heroku.com/sodexo-poc.git (fetch)
heroku  https://git.heroku.com/sodexo-poc.git (push)

它也可以在我的.git/config文件中找到。但无论我尝试什么,它仍然无法识别远程名为git。我只能使用git push heroku +master推送它,因为遥控器比我当地的分支(这也让我困惑)更进一步。

我尝试过重置键,删除和添加遥控器(在各种配置中),甚至创建一个带有新遥控器的新应用程序并推送到那个。

0 个答案:

没有答案