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

deleting / adding files throughout the repository

From
AKAlex K <spaceoutlet@gmail.com>
Date
Jun 8, 2009, 17:25 UTC
Message-ID
<e4a904790906081025s76bdd1a0k73003e861da98371@mail.gmail.com>
Hello,

Suppose I made a mistake in my repository. There is a file that should never have been there. How do I delete this file from the entire repository history? How do I add a file throughout the entire repository history as if this later file had always been there?

Thank you,
Alex
Next: Jeff King
Message 1 of 2 in “deleting / adding files throughout the repository”
  1. Alex KJun 8, 2009
  2. Jeff KingJun 8, 2009

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.