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

How to ignore deleted files

From
AHAndreas Hildebrandt <anhi@bioinf.uni-sb.de>
Date
Mar 11, 2008, 12:58 UTC
Message-ID
<47D68203.10905@bioinf.uni-sb.de>
Dear all,

our git repository contains a number of .tar.gz - files that are automatically extracted and then deleted during the build process. Unfortunately, commiting any changes after that step will mark those files as deleted and try to commit that to the repository. Is there any way to tell git to ignore those files automatically (apart from changing our build process not to use or not to delete those files)?

Sorry if I overlooked something obvious,
Andreas Hildebrandt
Next: Jakub Narebski
Message 1 of 6 in “How to ignore deleted files”
  1. Andreas HildebrandtMar 11, 2008
  2. Jakub NarebskiMar 11, 2008
  3. Andreas HildebrandtMar 11, 2008
  4. Santi BéjarMar 11, 2008
  5. Git and pristine-tarSergio Callegari, Mar 11, 2008
  6. David TweedMar 11, 2008

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.