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

Re: [BUG] git-branch -m cannot rename remote branches

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 8, 2008, 22:58 UTC
Message-ID
<alpine.DEB.1.00.0806082357470.1783@racer>
In-Reply-To
<200806082257.20833.jnareb@gmail.com>
Hi,
On Sun, 8 Jun 2008, Jakub Narebski wrote:
> I cannot rename remote branch (possibly packed, and possibly with
> reflog) using "git branch"

That is very much by design; a next fetch would get them with their current name anyway. A "remote prune" should get rid of any stale branches.

So yes, "branch -m" with remote branches does not make sense.

Ciao, Dscho

Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 4 in “[BUG] git-branch -m cannot rename remote branches”
  1. Jakub NarebskiJun 8, 2008
  2. Johannes SchindelinJun 8, 2008
  3. Jakub NarebskiJun 9, 2008
  4. Olivier MarinJun 9, 2008

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.