在本地分支執行cherry-pick命令時有時須要修改commit message信息,能夠加參數-e實現:git
git cherry-pick -e commidIdcode
git cherry-pick -e commidId
而後進入vi模式,修改提交信息就行, 執行 wq 保存便可it