Git I';我在推到Heroku时遇到了一个错误

Git I';我在推到Heroku时遇到了一个错误,git,github,heroku,Git,Github,Heroku,我犯了一个错误,我在谷歌上搜索了很多次,但似乎什么都不起作用。我尝试了获取,拉,推,重设基址,以及许多堆栈溢出。我还重新调整了回购协议,看看这是否会有所帮助,但一切都不起作用 ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://git.heroku.com/repo.git' hint: Updates were rejected because th

我犯了一个错误,我在谷歌上搜索了很多次,但似乎什么都不起作用。我尝试了获取重设基址,以及许多堆栈溢出。我还重新调整了回购协议,看看这是否会有所帮助,但一切都不起作用

 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://git.heroku.com/repo.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

您是否已开始使用命令“heroku login”?然后尝试设置url?然后拉?使用这个命令“$git remote set url heroku”,所以我只是尝试登录,将url设置为repo,拉、推(以防万一),然后尝试推送到heroku。与上面的错误相同。这是说heroku的更改在您的分支中不存在。要么从那个遥控器拉,要么——如果你绝对相信你不需要heroku上的更改——强制推动更改。当心。@osowskit:这让我开始把东西推给Heroku,但它打开了一个新的蠕虫罐;称为“白噪声”的东西配置不正确。