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

Re: [PATCH] branch: move multiple branches in a single --force

From
ASAndrea Stacchiotti <andreastacchiotti@gmail.com>
Date
Jun 11, 2025, 08:34 UTC
Message-ID
<CAEgWtF_0JzZ24L+H-WoKFGaK6Hho-YYbutxSXRud4SK3HwOYXg@mail.gmail.com>
In-Reply-To
<xmqq4iwnktyv.fsf@gitster.g>

Il giorno mer 11 giu 2025 alle ore 02:22 Junio C Hamano <gitster@pobox.com> ha scritto:

Show 7 quoted lines
>
> Andrea Stacchiotti <andreastacchiotti@gmail.com> writes:
>
> > This patch aims to make repointing multiple branches to the same commit-ish
> > easier, currently it needs a shell loop.
>
> Or "update-ref --stdin"?

I learned something new, but I'd still like to keep advocating for a syntax like `branch --some-flag A B C X` instead of feeding by hand update-ref commands.

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 10 in “branch: move multiple branches in a single --force”
  1. branch: move multiple branches in a single --forceAndrea Stacchiotti via GitGitGadget, Jun 10, 2025
  2. Junio C HamanoJun 10, 2025
  3. Andrea StacchiottiJun 10, 2025
  4. Junio C HamanoJun 11, 2025
  5. Andrea StacchiottiJun 11, 2025
  6. Junio C HamanoJun 11, 2025
  7. Andrea StacchiottiJun 12, 2025
  8. Junio C HamanoJun 12, 2025
  9. Junio C HamanoJun 12, 2025
  10. Andrea StacchiottiJun 12, 2025

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.