git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: stgit: deleting a branch doesn't seem to work

From
CMCatalin 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
Previous: Torgil SvenssonNext: Torgil Svensson
Message 2 of 4 in “stgit: deleting a branch doesn't seem to work”
  1. Torgil SvenssonAug 21, 2006
  2. Catalin MarinasAug 22, 2006
  3. Torgil SvenssonAug 22, 2006
  4. Catalin MarinasAug 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.