简体   繁体   English

如何从合并分支移动提交?

[英]How to move commits from merged branch?

merged feature/fix to develop . 合并要develop feature/fix My collegue after this merge make three commits to feature/fix . 合并后,我的同事对feature/fix进行了三次提交。

How to apply these three commits on develop ? 如何将这三个提交应用于开发?
I know cherry-pick, however I am searching for other solution. 我知道吃樱桃,但是我正在寻找其他解决方案。 Thanks 谢谢

Switch to branch 'develop' 切换到“开发”分支

git checkout develop git checkout开发

merge commits of feature fix to develop: 合并功能修订的提交以开发:

git merge feature/fix git merge功能/修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将一个分支从分支的头提交到新分支中,而合并后又不丢弃它们呢? - How does one Move Commits from the Head of a Branch into a New Branch and not have them be Discarded when Merged back in? 壁球提交与合并分支之间的提交 - Squash commits with commits from merged branch in between 如何将所有提交从分支移动到另一个分支? - How to move all commits from a branch to another? Git:如何列出此分支上的提交而不是合并分支的提交 - Git: How to list commits on this branch but not from merged branches git - 从合并分支中删除提交 - git - remove commits from merged branch 如何将我的提交从“无分支”“移动”到实际分支? - How do I "move" my commits from "no branch" to an actual branch? 如何将多个提交从一个分支移动到另一个分支 - How to move multiple commits from a branch to another branch Git:如何列出合并分支上的提交? - Git: How to list commits on a merged branch? 合并拉取请求后,如何防止来自功能分支的提交出现在开发分支中? - How to prevent commits from a feature branch from showing up in the dev branch after the pull request is merged? SVN-如何获取分支上所有提交以及合并到该分支的分支的所有列表? - SVN - how to get a list of all commits on a branch and from branches merged into that branch?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM