From: Jon Smirl Date: Wed, 07 Nov 2007 16:11:42 GMT Subject: Re: stgit: cleaning up after using git branch delete commands Message-ID: <9e4733910711070811y72f96a90i4db9acdf93aa765c@mail.gmail.com> In-Reply-To: On 11/7/07, Catalin Marinas wrote: > "Jon Smirl" wrote: > > I've used git commands to delete several branches that had stgit > > active on it. Doing that has left a bunch of clutter in the .git > > directory. Is there a stgit command to remove all the clutter from > > branches that no longer exist? I'd like to use the branch names again > > but the clutter is interfering. > > You can create the branch back with GIT and run "stg branch --delete > --force", though I don't guarantee it will work (BTW, I only recently > relaxed the branch deletion rules in StGIT so that it doesn't complain > of missing files and completes the operation, so you should use the > latest HEAD). how about a 'stg gc' command that gets rid of all the inaccessible clutter? > > -- > Catalin > -- Jon Smirl jonsmirl@gmail.com