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

how do i re-add a file?

From
IDIttay Dror <ittayd@tikalk.com>
Date
Apr 1, 2008, 11:10 UTC
Message-ID
<47F21814.6000705@tikalk.com>

I did git-rm on a file and committed. Made some changes to my sources and committed. Now I want the file back. How can I do that? Related to that, how do I revert my files to some past commit state so that the commits in between are kept in the history?

Thank you, Ittay

-- 
Ittay Dror <ittayd@tikalk.com>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>
Next: James Sadler
Message 1 of 3 in “how do i re-add a file?”
  1. Ittay DrorApr 1, 2008
  2. James SadlerApr 1, 2008
  3. Miklos VajnaApr 1, 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.