Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个与主分支完全不同的开发分支。我有一些我想提交给 master 的更改,但我绝对不能合并分支。
我该怎么做?
你想要git cherry-pick。
git cherry-pick
它允许您将选定的提交从一个分支拉到另一个分支。