Re: how to create a multipart, numbered git patch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(hit the wrong reply key, so here for the list again)

On 2008-03-08 at 15:33:11 +0100, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> 
>   i've tried to follow a couple previous tutorials and never
> succeeded, so is there a meticulous recipe for how to create a
> muitipart git patch that i can follow?  based on what i've read, what
> i would be doing is
> 
> 1) start with a freshly pulled repo
> 2) make each change and commit it

I prefer to do my changes on a local branch.

> 3) once i've made all my changes, somehow generate the patch

git format-patch is your friend here. Check the -n option.

> 4) do a git --reset hard to resycn with the repo, right?

I just delete the branch after all patches have been merged upstream.

Cheers, Tobias
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux