git patch 应用

1 新建一个补丁分支topicA

git checkout -b topicA

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

(work)
git commit
(work)
git commit

 

3  基于master 生成补丁文件

git format-patch -M origin/master

 

posted @ 2015-11-23 22:57  宋东东  阅读(278)  评论(0编辑  收藏  举报