Re: stgit: cleaning up after using git branch delete commands
- From
- Catalin Marinas <catalin.marinas@arm.com>
- Date
- Nov 7, 2007, 14:57 UTC
- Message-ID
- <tnxwssuyug1.fsf@pc1117.cambridge.arm.com>
- In-Reply-To
- <9e4733910711070606t2c558ac9ob4c729d5baca8fb9@mail.gmail.com>
"Jon Smirl" <jonsmirl@gmail.com> wrote:
Show 5 quoted lines
> 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).
-- Catalin