Git and working on multiple branches

后端 未结 6 1250
春和景丽
春和景丽 2020-12-02 06:42

I have a couple of Git branches: \'experimental\', \'something\' and \'master\'.

I switched to the \'experimental\' branch. I noticed a bug which is unrelated to \'e

6条回答
  •  Happy的楠姐
    2020-12-02 06:58

    If you can merge, then do so. If you don't want to merge something into the other branches, then fix the bug and cherry-pick that commit into each of the other branches.

提交回复
热议问题