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

How to rename remote branches if I only have "client access"?

From
MRManuel Reimer <manuel.spam@nurfuerspam.de>
Date
Oct 20, 2016, 15:03 UTC
Message-ID
<nuamc4$uvk$1@blaine.gmane.org>
Hello,
I have the following branches on my remote repo:

new_version master

I now want the "new_version" branch to be the "master" and the old "master" has to be renamed to the old version number (in my case 0.2.0).

How to do this? Currently this causes me much trouble as I can't delete the remote "master" repository as this is the "remote current repository"...

Thanks in advance
Manuel
Next: Junio C Hamano
Message 1 of 2 in “How to rename remote branches if I only have "client access"?”
  1. Manuel ReimerOct 20, 2016
  2. Junio C HamanoOct 20, 2016

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.