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 中合并一些提交。
有没有办法获得一个交互式的挑选,它会显示提交及其更改,然后让我选择我真正想要挑选的那些?
您可以通过使用 的提交图来执行此操作 gitk --all,然后右键单击您希望挑选到当前分支的提交。
gitk --all