Alternatives to cherry-picking

前端 未结 3 798
情歌与酒
情歌与酒 2021-02-06 02:46

We have a master and a production branch. The master branch contains current developments while the production branch contains the stuff that is running on the s

3条回答
  •  温柔的废话
    2021-02-06 03:17

    Create a separate branch for each hotfix, and merge it into both your development branch and your production branch.

    The gitflow model works really well in general, and I'd recommend checking this out: http://nvie.com/posts/a-successful-git-branching-model/

    Your master branch is analogous to their develop branch, and your production branch is analogous to their master

    enter image description here

提交回复
热议问题