如何挑选一系列提交并合并到另一个分支?

南笙酒味 提交于 2020-10-03 02:21:35

问题:

I have the following repository layout: 我有以下存储库布局:

  • master branch (production) 主分支(生产)
  • integration 积分
  • working 工作中

What I want to achieve is to cherry pick a range of commits from the working branch and merge it into the integration branch. 我想要实现的是从工作分支中挑选一系列提交并将其合并到集成分支中。 I pretty new to git and I can't figure out how to exactly do this (the cherry picking of commit ranges in one operation not the merging) without messing the repository up. 我对git相当陌生,我不知道如何准确地做到这一点(在一个操作中选择合并范围而不是合并中的提交范围)而不弄乱存储库。 Any pointers or thoughts on this? 关于此有任何指示或想法吗? Thanks! 谢谢!


解决方案:

参考一: https://stackoom.com/question/8Mql/如何挑选一系列提交并合并到另一个分支
参考二: https://oldbug.net/q/8Mql/How-to-cherry-pick-a-range-of-commits-and-merge-into-another-branch
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!