git patch 应用

1 新建一个补丁分支topicA

git checkout -b topicA

2  在此分支基础上提交修改

(work)
git commit
(work)
git commit

3  基于master 生成补丁文件

git format-patch -M origin/master

原文地址:https://www.cnblogs.com/Eastsong/p/4990001.html