how to create a multipart, numbered git patch?
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
3) once i've made all my changes, somehow generate the patch
4) do a git --reset hard to resycn with the repo, right?
feel free to add in the details. thanks.
rday
--
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
====================================
(hit the wrong reply key, so here for the list again)
Quoted 8 lines · Robert P. J. Day
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 is1) start with a freshly pulled repo
2) make each change and commit it
I prefer to do my changes on a local branch.
Quoted 1 line
3) once i've made all my changes, somehow generate the patch
git format-patch is your friend here. Check the -n option.
Quoted 1 line
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