git命令将已经commit的代码push到其他分支 1、获取到commit的id git rev-parse HEAD 2、切换到需要push的分支 git checkout develop 3、执行以下命令 git cherry-pick commitId