博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
git format-patch origin 生成patch
阅读量:4139 次
发布时间:2019-05-25

本文共 602 字,大约阅读时间需要 2 分钟。

是用git生成patch文件然后用email的方式提交

#git clone git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next-2.6.git

#cd bluetooth-next-2.6

#vim drivers/bluetooth/btusb.c

#git add drivers/bluetooth/btusb.c

#git commit -m "Added atheros3012 Chip Firmware download support"

#git log <== to git the previous commit hash code.

#git format-patch -s 1bbe3c8c197a35f79bfddaba099270a2e54ea9c7

 

please replace the hash code with your repo previous commit.

then you can find the patch under repo directory.

then mail your patch to configuration admin. 

 

 

退回去

#git reset --hard 1bbe3c8c197a35f79bfddaba099270a2e54ea9c7

 

转载地址:http://uemvi.baihongyu.com/

你可能感兴趣的文章
Vim配置文件(全平台可用)2012-05-01版
查看>>
gcc安装
查看>>
Linux下查看文件和文件夹大小
查看>>
vnc安装及配置
查看>>
Linux文件查找
查看>>
linux下mysql操作命令
查看>>
linux下解压命令大全
查看>>
gcc常用参数及环境变量
查看>>
#ifdef的嵌套使用
查看>>
gcc -I -L -l区别
查看>>
Pthreads并行编程之spin lock与mutex性能对比分析
查看>>
vim cscope ctags
查看>>
linux 下动态链接库的制作与使用
查看>>
Linux中通过/proc/stat等文件计算Cpu使用率
查看>>
/proc/stat 详解
查看>>
OpenMP中的数据处理子句
查看>>
Linux下动态共享库加载时的搜索路径详解
查看>>
OpenMP (一)
查看>>
OpenMP(二)
查看>>
OpenMP(三) 线程同步
查看>>