我在运行
git review
时遇到了以下问题:git review
You are about to submit multiple commits. This is expected if you are
submitting a commit that is dependent on one or more in-review
commits. Otherwise you should consider squashing your changes into one
commit before submitting.
The outstanding commits are:
2de3eef (HEAD -> AddingReleaseIndex) Adding index page for subrelease projects
d3dbc89 (Addingindex) Add index with submodules
Do you really want to submit the above commits?
Type 'yes' to confirm, other to cancel: no
Aborting.
我有许多分支,每个分支都实现了特定的功能。我只想发送HEAD(2de3eef)上的提交进行审查,不想发送其他内容。
我找到了一篇文章,它说我可以使用 git cherry-pick 将选定的提交移动到另一个分支并从另一个分支发送它进行审查。但我不想通过另一个分支发送它,我想通过同一个分支发送它,因为它是关于特定功能的。
我该如何解决这种情况?