Re: stgit: deleting a branch doesn't seem to work
- From
- Catalin Marinas <catalin.marinas@arm.com>
- Date
- Aug 22, 2006, 08:34 UTC
- Message-ID
- <tnxd5attbhq.fsf@arm.com>
- In-Reply-To
- <e7bda7770608211027m298ca361pdd78e164b9a524a5@mail.gmail.com>
"Torgil Svensson" <torgil.svensson@gmail.com> wrote:
Show 15 quoted lines
> I have three branches and want my "gst10" to be "master" instead > > $ stg branch --delete master > Deleting branch "master"... done > $ stg branch -l > Available branches: > s gst10 | > master | >> origin | > $ stg branch --delete master > Deleting branch "master"... done > $ stg branch -r gst10 master > stg branch: Branch "master" already exists > > Is there something i'm missing in my logic?
It's not actually documented but it looks like the master branch is not completely deleted by StGIT. If you have StGIT-managed patches in "master", they are removed but the GIT branch is kept as this is usually the default branch.
You could do a "git branch -d master" but maybe I should change StGIT to fully delete the "master" branch as well.
-- Catalin