Re: how to create v2 patch
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 1, 2007, 14:02 UTC
- Message-ID
- <m3r6i6wm1g.fsf@roke.D-201>
- In-Reply-To
- <47515693.9070405@imap.cc>
Tilman Schmidt <tilman@imap.cc> writes:
Show 5 quoted lines
> Let's say that following the scheme laid out in > "Everyday GIT ...", chapter "Individual Developer (Participant)". > I have produced a patch, submitted it to LKML, received a few > comments, committed appropriate changes to my local git tree, > and now want to submit a revised patch. How do I do that?
If you have original commit and commit with corrections on top of it, do a squash rebase using "git rebase -i" (interactive), or do a squash merge.
In the future it would be better to just amend ("git commit --amend") original commit (or if you are using StGIT, "stg refresh" it).
-- Jakub Narebski Poland