From: Junio C Hamano Date: Tue, 01 Nov 2005 02:35:31 GMT Subject: Re: git versus CVS (versus bk) Message-ID: <7vvezd9jt8.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > On Mon, 31 Oct 2005, Randal L. Schwartz wrote: >> >> Martin> cg-diff -r from:to | patch -p1 >> >> What's the easiest way then to toss all that intermediate history? >> I'm thinking of the rcs "-o" switch that "outdates" any deltas in that >> range. > > Start a new branch before the sequence you want to clean up. Then, move > the cleaned-up history to that branch, and eventually you can just delete > the old one. Big caveat --- do that before you make that dirty tree available to outside, otherwise you would be in hot water ;-)