Question about "Creating first patch" guide

Karthik Nayak karthik.188 at gmail.com
Thu Sep 24 01:56:01 EDT 2015


On Thu, Sep 24, 2015 at 8:51 AM, 慕冬亮 <mudongliangabcd at gmail.com> wrote:
> I don't know whether my procedure to generate patch is right.Share it
> with you and you can comment it ,feed back to me!
>
> First, I change the document in the master branch, but don't commit to
> master branch. Then I use "git diff" to generate the patch.

Why not commit?
A simple way to do this would be.

1. Make changes as per requirements
2. Commit them
3. Use `git format-patch` to generate patches.
4. Check using checkpatch
5. `Use git send-email` to mail those patches to the required list.

-- 
Regards,
Karthik Nayak



More information about the Kernelnewbies mailing list