How to keep branches in sync when using Git Flow

試著忘記壹切 提交于 2019-12-04 20:15:48
Mudassir Razvi

When you merge the release branch to master you either merge develop also and push the updated develop branch or create a new one from the master. If you merge develop and push then everyone who has access to develop will get updated develop branch on next update.

Your master and remotes master are out of sync as you have not taken update from the remote. This you have to do! :)


Adding nwinkler's answer for better visibility as answer:
You need to merge back into develop after doing the release. In our workflow, I merge the master branch back into develop after the release. That way you get all of the changes from the release merge and you make sure that you can merge everything into master when you do the next release. Looks like that last step is missing from your workflow

If you got what you wanted then please accept it and close it!

Hope it helped!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!