梳理
比如这样一个请求(Merge Request):
https://github.com/apache/spark/commit/c68ec4e6a1ed9ea13345c7705ea60ff4df7aec7b
在这个commit后面添加patch,并保存该patch文件
https://github.com/apache/spark/commit/c68ec4e6a1ed9ea13345c7705ea60ff4df7aec7b.patch
运行打patch命令:
git am 296.patch
参考:
* https://coderwall.com/p/6aw72a/creating-patch-from-github-pull-request
本文介绍如何从GitHub上的Merge Request创建补丁文件并应用这些补丁到本地仓库。通过具体的实例说明了如何获取补丁文件及使用git命令进行补丁的应用。
1009

被折叠的 条评论
为什么被折叠?



