0
点赞
收藏
分享

微信扫一扫

git 导出指定文件的所有commits

ivy吖 2022-03-30 阅读 81
linux

多个补丁一个文件:

git format-patch -提交个数 --stdout -- drivers/staging/wlags49_h2/>../wlags49_patches/all.patch
每一个补丁一个文件:

git format-patch -提交个数 -o ../目录名称 -- drivers/staging/wlags49_h2/

数字设的足够大就是全部。。。

git format-patch for all the commits to a file - Stack Overflow

git: generate a single patch across multiple commits - Stack Overflow

 

举报

相关推荐

0 条评论