尝试将更改推送到远程存储库时出现以下错误。推送到远程存储库时出现git推送错误
命令
git push heroku
错误
fatal: You are pushing to remote 'heroku', which is not the upstream of your current branch 'master', without telling me what to push to update which remote branch.
任何人都可以请指教一下可能会导致相同的?
伴侣你是指以下配置? 'branch.master.remote = origin' – misguided 2013-04-06 01:07:07
@Misguided - 你引用的行告诉你分支主人已经远程映射到“origin”。很可能你会看到'remote.origin.url = ...' - 这告诉你在哪里看你的遥控器,最有可能有“heroku”。 我刚刚添加了更详细地解释它的链接。如果您还有其他问题,请告诉我。 – 2013-04-06 01:11:02