用git生成patch文件然后用email的方式提交 1,下載代碼 git clone git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next-2.6.git cd bluetooth-next-2.6 2,修改代碼 vi drivers/bluetooth/btusb.c 3,把代碼添加到git管理倉(cāng)庫(kù) git add drivers/bluetooth/btusb.c 4,提交修改 git commit -m "Added atheros3012 Chip Firmware download support" 5,查看日志 git log <== to git the previous commit hash code. 6,生成patch 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. 7,退回去 git reset --hard 1bbe3c8c197a35f79bfddaba099270a2e54ea9c7 本文來(lái)自CSDN博客,,轉(zhuǎn)載請(qǐng)標(biāo)明出處:http://blog.csdn.net/Hello_Orange/archive/2011/01/08/6124784.aspx |
|