Re: Newbie falls at first hurdle
- From
- Sven Verdoolaege <skimo@kotnet.org>
- Date
- Sep 19, 2005, 19:09 UTC
- Message-ID
- <20050919190947.GF15165MdfPADPa@greensroom.kotnet.org>
- In-Reply-To
- <200509182011.10689.alan@chandlerfamily.org.uk>
On Sun, Sep 18, 2005 at 08:11:10PM +0100, Alan Chandler wrote:
> What I was then trying to do, via various attempts with git diff -p was to > extract small chunks of updates (ie limit scope over a few files). Edit the > result to limit the diff to cover a small update and then apply it to a my > current stuff to slowly undo some of the mess that I had made.
Yoy may find my changes to dirdiff useful if you do things like that. (http://www.liacs.nl/~sverdool/gitweb.cgi?p=dirdiff.git;a=summary) I've basically changed it to allow "merging" (i.e., commiting) to a branch.
You'd start it like this
girdiff master .
Then you loop through the files with differences, for each file selecting the changes you want to copy and selecting Merge/"update master". Then you fill in a commit message and select File/Commit from the commit message window.
Only lightly tested so far. Rediff'ing doesn't work yet, so you'll have to restart girdiff after each commit for now.
skimo