What is a back-merge

前端 未结 3 597
不知归路
不知归路 2021-02-05 11:06

I’ve watched some videos on the git-flow scripts and one term that comes up is “back merge” - e.g. hotfix is merged into master and back merged into develop.

I’m assumin

3条回答
  •  长情又很酷
    2021-02-05 11:18

    Backmerge is nothing but add your hotfix changes into your current working branch.

    Let's say you have two branches Develop and Master
    You found any major bug on Master. You fixed it on Master branch itself as a hotfix. Later you need to add your bugfix change into your current working branch i.e Develop branch. so you need to do back-merge like this


    1. git checkout Develop
    2. git merge Master
    3. git push origin Develop

提交回复
热议问题