git 把dev部分提交过的内容合并到master
$ git reflog a6de5cc [email protected]{0}: checkout: moving from wf_dev to master 303aaef [email protected]{1}: checkout: moving from master to wf_dev a6de5cc [email protected]{2}: pull origin master: Merge made by the ‘recursive‘ strategy. 602559e [email protected]{3}: commit: optimize 教师信息 添加“身份证号”字段,只实现新增、修改、显示 359b9b4 [email protected]{4}: commit: optimize 学生用户 “个人信息维护”页面显示个人照片 ab29f7b [email protected]{5}: commit: refix_IDSP-1731 过程性评价 不显示“是否有效”设置为无效的必选课/自选课选课活动 6881b6e [email protected]{6}: checkout: moving from wf_dev to master ... // 提交 6881b6e 之后(不包含此提交)到提交 602559e (包含此提交)的改动 $ git format-patch 6881b6e..602559e -o C://patch C://patch/0001-refix_IDSP-1731.patch C://patch/0002-optimize.patch C://patch/0003-optimize.patch // 在另外的分支上执行patch $ git am --signoff < C:\\patch\\0001-refix_IDSP-1731.patch Applying: refix_IDSP-1731 过程性评价 不显示“是否有效”设置为无效的必选课/自选课选课活动