Git workflow and Gerrit

后端 未结 3 1092
名媛妹妹
名媛妹妹 2021-02-13 11:10

I am trying to implement a \'git-flow\' kind of workflow using Gerrit but I can\'t seem to figure out the last piece of the puzzle.

There are two preconditions to my pr

3条回答
  •  自闭症患者
    2021-02-13 12:09

    The best solution is definitely to merge either master or the hotfix branch into your development branch. I'm not sure what your 'no merge commits' precondition is trying to solve, but it will probably create more hassle than it is worth.

    On the other hand, if you do cherry pick, git will usually detect the duplicate commit during the merge and automerge it without any problems. But when there are problems they won't be fun. Also it isn't as clear which fixes have been cherry picked and which haven't, where as with a merge it is very clear.

提交回复
热议问题