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.
我有这个提交被不知道如何处理冲突的人撤消。有没有一种简单的方法可以尝试自动合并提交?我尝试使用“合并到主控”,但它只是说是最新的。我正在使用乌龟。
这git cherry-pick就是为了。它允许您通过使用已经存在的提交来应用更改。
git cherry-pick
基本语法是:
git cherry-pick <commit> ...