如何挑选一系列提交并合并到另一个分支?
问题: 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