git diff 生成补丁
时间: 2023-10-20 13:31:15 浏览: 114
补丁制作工具
git diff生成的补丁是指用来记录文件改变内容的标准patch文件。这种补丁文件可以通过执行命令"git diff master > patch"来生成,其中"master"表示比较的基准分支,"patch"是生成的补丁文件的名称。补丁文件记录了文件改变的具体内容,但没有包含commit记录信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [diff & patch 制作及打补丁](https://blog.csdn.net/gjsisi/article/details/17576993)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [git 生成补丁文件及打补丁](https://blog.csdn.net/xiewenhao12/article/details/117923288)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文