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

Re: Remove "historical" objects from repository to save place

From
Junio C Hamano <junkio@cox.net>
Date
Jan 21, 2006, 19:58 UTC
Message-ID
<7v1wz1mjy8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200601212218.51055.arvidjaar@mail.ru>
Andrey Borzenkov <arvidjaar@mail.ru> writes:
> Description of git-prune suggests that it may be possible by removing tags 
> from refs/tags
If the documentation suggests that, then it is misleading.
> OTOH I may have commit chain that will prevent them.
Correct.
> Also 
> won't those tags come back after git fetch --tags?
Correct.

You might be able to cauterize the history at a specific commit and then re-clone. I've talked about how in "[QUESTION] about .git/info/grafts file" thread yesterday, so I won't repeat that.

Previous: Andrey BorzenkovNext: Petr Baudis
Message 2 of 8 in “Remove "historical" objects from repository to save place”
  1. Andrey BorzenkovJan 21, 2006
  2. Junio C HamanoJan 21, 2006
  3. Petr BaudisJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Randal L. SchwartzJan 21, 2006
  6. Junio C HamanoJan 21, 2006
  7. Andrey BorzenkovJan 21, 2006
  8. Andrey BorzenkovJan 21, 2006

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.