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

Re: File versioning based on shallow Git repositories?

From
Rafael Ascensao <rafa.almas@gmail.com>
Date
Apr 12, 2018, 21:07 UTC
Message-ID
<CACUQV592km3SaHiY9uZon4E3jhakmYmzwcejmsnExzaybNm3xw@mail.gmail.com>
In-Reply-To
<87k1tcf905.fsf@evledraar.gmail.com>
Would initiating a repo with a empty root commit, tag it with 'base' then
use $ git rebase --onto base master@{30 days ago} master;
be viable?

The --orphan & tag is perhaps more robust, since it's "harder" to move tags around.

-- Rafael Ascensão

Previous: Ævar Arnfjörð BjarmasonNext: Hallvard Breien Furuseth
Message 5 of 9 in “File versioning based on shallow Git repositories?”
  1. Hallvard Breien FurusethApr 12, 2018
  2. Ævar Arnfjörð BjarmasonApr 12, 2018
  3. Hallvard Breien FurusethApr 12, 2018
  4. Ævar Arnfjörð BjarmasonApr 12, 2018
  5. Rafael AscensaoApr 12, 2018
  6. Hallvard Breien FurusethApr 12, 2018
  7. Jakub NarebskiApr 13, 2018
  8. Johannes SchindelinApr 13, 2018
  9. Jakub NarebskiApr 13, 2018

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.