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

Re: how to delete from history some files, and commits with them?

From
ТТТихон Тарнавский <t.t@unixforum.org>
Date
Jul 14, 2010, 16:58 UTC
Message-ID
<20100714165830.GA13717@Nokia-N810-43-7>
In-Reply-To
<20100714161508.GA2330@burratino>
On Wed, 14.07.2010 11:15:08 , Jonathan Nieder wrote:
Show 8 quoted lines
> Tikhon Tarnavski wrote:
> 
> >               I can create two clones
> > and run filter-branch in both to delete
> > files. But I can't find how I may
> > delete empty commits after that.
> 
> Maybe --prune-empty can help.

I was forced to use git 1.5.6 (by technical reasons) where this option is not available (and I didn't know about it). Now I can switch to 1.7 so I'll try it soon. Thank you very much.

-- 
С уважением,
Тихон Тарнавский.
Previous: Jonathan Nieder
Message 3 of 3 in “how to delete from history some files, and commits with them?”
  1. Tikhon TarnavskiJul 14, 2010
  2. Jonathan NiederJul 14, 2010
  3. Тихон ТарнавскийJul 14, 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.