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

Re: cannot remove remote branch name

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Jan 5, 2010, 01:59 UTC
Message-ID
<40aa078e1001041759p22657d0cwe094a348dca32842@mail.gmail.com>
In-Reply-To
<hhu694$3v9$1@ger.gmane.org>
On Tue, Jan 5, 2010 at 2:57 AM, SungHyun Nam <goweol@gmail.com> wrote:
Show 19 quoted lines
> Hello,
>
> How I can remove remote branch name if it already removed
> in remote side?
>
> $ git branch -a
> * master
>  remotes/origin/HEAD -> origin/master
>  remotes/origin/master
>  remotes/origin/test
> $ git branch -D -r test
> error: remote branch 'test' not found.
> $ git branch -D -r remotes/origin/test
> error: remote branch 'remotes/origin/test' not found.
> $ git branch -D remotes/origin/test
> error: branch 'remotes/origin/test' not found.
>
> The 'remotes/origin/test' was removed in remote side.
>
$ git remote prune origin
-- 
Erik "kusma" Faye-Lund
Previous: SungHyun NamNext: Junio C Hamano
Message 2 of 3 in “cannot remove remote branch name”
  1. SungHyun NamJan 5, 2010
  2. Erik Faye-LundJan 5, 2010
  3. Junio C HamanoJan 5, 2010

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.