简体   繁体   中英

git merge develop and master Issue

I'm using Gitflow for my project. my develop branch is ahead of master branch by many commits in a while. But when I tried to merge master with develop by:

git merge develop

It says that Already up to date . Whats wrong with it or my operation?

Can anyone help?

Thanks

This may happen if you haven't pulled the develop branch changes recently. In this you can the one of the following things:

  1. Pull remote develop changes to your local develop branch by:

    git checkout develop

    git pull develop

    git checkout master

    git merge develop

  2. You can straightly merge origin/develop into local master branch by:

    git merge origin/develop

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM