嘗試將更改推送到遠程存儲庫時出現以下錯誤。推送到遠程存儲庫時出現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