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

Safe way to remove .temp objects?

From
EMErik Mouw <erik@harddisk-recovery.com>
Date
Jan 26, 2006, 09:35 UTC
Message-ID
<20060126093507.GA5118@harddisk-recovery.nl>
Hi,

After a git repack, git count-objects reports there are still 20 objects in the repository. It looks like those are temp objects:

  erik@arthur:~/git/linux-2.6 > ls .git/objects/??/
  .git/objects/14/:
  d6545767f5103b5ef4702bc8fffa18dbe32ce1.temp
  .git/objects/1a/:
  d37b580be4215f1b0927b7560f5e8b8d1bc0fa.temp
  [...]

Is there a git command to remove those objects in a safe way, or can I just rm them without "harming" git??

Erik
-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
| Data lost? Stay calm and contact Harddisk-recovery.com
Next: Andreas Ericsson
Message 1 of 4 in “Safe way to remove .temp objects?”
  1. Erik MouwJan 26, 2006
  2. Andreas EricssonJan 26, 2006
  3. Junio C HamanoJan 26, 2006
  4. Erik MouwJan 27, 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.