我真的很困惑 - 我对我的应用做了一些更改,并且需要将更改推送到heroku。
我已经运行git add .
git commit -m "message"
和git push origin master
(我的所有工作都在主分支上),并收到Everything up to date.
然而,当我立即运行git push heroku master
后,我收到一条消息Updates were rejected because the tip of your current branch is behind its remote counterpart. Integrate the remote changes (e.g. 'git pull ...') before pushing again.
当我运行git pull origin master
时,它会显示Already up-to-date
。所以我真的很困惑这里背后的东西,或者我需要做什么!