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

Re: How do I copy a branch & its config to a new name?

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Mar 24, 2017, 00:52 UTC
Message-ID
<20170324005249.GF20794@aiede.mtv.corp.google.com>
In-Reply-To
<CACBZZX7NDa5o1xSu4HgZ4=kG3mx3U6ja7f3E4yAkFOHDsLdMjA@mail.gmail.com>
Hi,
Ævar Arnfjörð Bjarmason wrote:
Show 6 quoted lines
> I couldn't find any previous list discussion about this, but if not I
> think something like:
>
>     git [checkout|branch] --copy src dest
>
> Would make sense as an interface for this.
Sounds good to me. :)

Thanks, Jonathan

Previous: Jeff KingNext: Ævar Arnfjörð Bjarmason
Message 5 of 7 in “How do I copy a branch & its config to a new name?”
  1. Ævar Arnfjörð BjarmasonMar 22, 2017
  2. Jeff KingMar 22, 2017
  3. Ævar Arnfjörð BjarmasonMar 22, 2017
  4. Jeff KingMar 22, 2017
  5. Jonathan NiederMar 24, 2017
  6. Ævar Arnfjörð BjarmasonMar 24, 2017
  7. Jeff KingMar 24, 2017

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.