git cherry-pick to another branch

后端 未结 4 1098
深忆病人
深忆病人 2020-12-06 16:24

I wonder if there is the way to copy one commit to another branch without checking out that branch.

For example, I have two branches: master and p

4条回答
  •  無奈伤痛
    2020-12-06 16:58

    https://github.com/lennartcl/gitl provides "git cherry-copy" and "git cherry-move" scripts that do this and handle most of the corner cases.

提交回复
热议问题