From: Thomas Rast Date: Mon, 15 Aug 2011 12:54:29 GMT Subject: Re: [feature wishlist] add commit subcommand to git add -i Message-ID: <201108151454.29912.trast@student.ethz.ch> In-Reply-To: Jim Cromie wrote: > [f]ragment would also be handy, which would break each chunk of a diff > into a separate commit, with the summary line provided automatically > @@ -696,7 +692,7 @@ int foo ... > > This would help a bit with random cleanups, since rebase -i could then > be used to > reorder and recombine the fragments, and edit the commit messages afterwards. > > going further, if git rebase -i had ability to "back" a fixup patch > back to where it should have been This little script may be of interest to you: http://article.gmane.org/gmane.comp.version-control.git/163621 -- Thomas Rast trast@{inf,student}.ethz.ch