How to cherry-pick interactively

a 夏天 提交于 2020-01-01 09:22:35

问题


I have hacked on a branch for a while, and this branch won't be merge before long. But there are some commits I'd like to merge in the master anyway.

Is there a way to get an interactive cherry-pick, that would show the commits and their changes, and then let me select the ones I'd actually like to cherry-pick?


回答1:


You can do that via the commit graph using gitk --all, and right clicking on the commit that you wish to cherrypick to your current branch.



来源:https://stackoverflow.com/questions/9000918/how-to-cherry-pick-interactively

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!