I use git flow so I work on a develop
branch and only push releases to master
. After creating a remote (named heroku
) on my Heroku account, I started pushing my local develop
branch to master
, mostly for verification:
git push heroku develop:master
Now that my app is more mature, I only push master
releases. However, Git indicates that my local develop
branch and the remote master
branch have diverged:
Your branch and 'heroku/master' have diverged,
and have 1 and 11 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
How can I stop these warnings without merging the remote master
branch into the local develop
branch?