Tilman Schmidt [off-list ref] writes:
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