Getting an error pushing to github - Updates were rejected because a pushed branch tip is behind its remote

前端 未结 3 1789
既然无缘
既然无缘 2020-12-01 14:44

I am having a problem pushing to a different heroku remote.

To check myself I renamed my entire project directory to _backup and then:

git clone acco         


        
3条回答
  •  暖寄归人
    2020-12-01 15:03

    If you pull the other repo first:

    git pull repo2

    This will merge in the other repos's changes which you can add and commit.

    Then you can push the repo back.

提交回复
热议问题