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

Re: branch versioning

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Oct 4, 2010, 13:25 UTC
Message-ID
<vpqpqvqjdj1.fsf@bauges.imag.fr>
In-Reply-To
<AANLkTimWxPPi_hHuato+hHePaEja=66GzLEpDUVcZV0i@mail.gmail.com>
Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
Show 7 quoted lines
> Hi,
>
> How do you guys manage versions of a topic branch? I usually end up
> saving format-patch series somewhere or forget all old versions.
> Although I really want to keep old versions around. reflog to me   is
> polluted with every kind of branch updates. And it's local
> information. It can't be transferred to another repo (or can it?)

I don't have strong needs in branch-versionning, so usually, the reflog is OK for me. When I need to save something, I set a tag on the current version of the branch before continuing (that's somehow manual versionning: the tag isn't versionned, so if I actually need history, I'll set several tags like refs/tags/sent-to-list-as-v1 refs/tags/before-starting-rebase, ...).

But other tools like stgit, topgit & friends may help to manage that in a cleaner way.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Nguyen Thai Ngoc DuyNext: Ævar Arnfjörð Bjarmason
Message 2 of 8 in “branch versioning”
  1. Nguyen Thai Ngoc DuyOct 4, 2010
  2. Matthieu MoyOct 4, 2010
  3. Ævar Arnfjörð BjarmasonOct 4, 2010
  4. Nguyen Thai Ngoc DuyOct 4, 2010
  5. Ævar Arnfjörð BjarmasonOct 4, 2010
  6. Michael J GruberOct 4, 2010
  7. Nguyen Thai Ngoc DuyOct 4, 2010
  8. Tomas CarneckyOct 4, 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.