Question about "Creating first patch" guide

Greg KH greg at kroah.com
Wed Sep 23 15:43:46 EDT 2015


On Wed, Sep 23, 2015 at 07:22:08PM +0000, Rob Groner wrote:
> The OutreachyfirstpatchSetup has been very helpful in setting up my computer to
> develop a patch to submit to the kernel overlords.
> 
>  
> 
> I’m at the point where I’ve changed the kernel code, ran and test it, and see
> just my changes with “git diff”.  What has me a little confused is that before
> I actually create the patch file (to submit to the appropriate mailing list),
> it says to actually commit the change.  Perhaps I don’t understand how git
> handles commit (I primarily use svn), but it seems like actually committing the
> change is kind of presumptuous before even posting anything on the mailing list
> of those that control the git repository. 
> 
>  
> 
> What part am I not understanding?

You should create a branch and work on that, making a commit there, then
it is trivial to turn that into a patch, as the tutorial suggests.

With git, everything can be local, svn requires you to push your changes
to the server, which is the big difference here.

hope this helps,

greg k-h



More information about the Kernelnewbies mailing list