Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3209613
  • 博文数量: 1805
  • 博客积分: 135
  • 博客等级: 入伍新兵
  • 技术积分: 3345
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-19 20:01
文章分类

全部博文(1805)

文章存档

2017年(19)

2016年(80)

2015年(341)

2014年(438)

2013年(349)

2012年(332)

2011年(248)

分类: LINUX

2015-04-19 13:24:32

Write and Submit your first Linux kernel Patch

墙外地址:
非严格对应的blog:
Documention/HOWTO, Codingstyle

git clone kernel source
git status
git branch
git checkout

make some changes
scripts/checkpatch.pl  --file --terse  drivers/md/dm-io.c
git diff
make M=drivers/md/
git commit -a
USB: otg: short summary
...

Signed-off by: Firo Yang

MAYBE:git commit --amend
git show --pretty=full

git format-patch master

scripts/checkpatch.pl 0001-Drivers-md-..
scripts/get_maintainer.pl
scripts/get_maintainer.pl --file

git send-mail --to ... --cc 0001-Drivers-md

git blame  ..file
git show comitcode897932832

阅读(496) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~