我真的很困惑 - 我已经对我的应用程序进行了一些更改,并且需要将更改推送到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
。所以我真的很困惑这里背后的东西,或者我需要做什么!
使用source-tree并检查文件状态,然后尝试推送。