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

RE: I delete files by mistake not in stage area

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Jul 13, 2023, 18:44 UTC
Message-ID
<003901d9b5ba$0ee1e4d0$2ca5ae70$@nexbridge.com>
In-Reply-To
<129BE2F7-847E-45E4-8A22-CC76EACF3543@gmail.com>
On Thursday, July 13, 2023 1:58 PM, Fayez Coder wrote:
>I deleted files from my projects those files in change area not add it to
stage area ,can
>I restore those files.

If you did not modify the files, you can restore them using git restore -- file-name. If the files were never added to git and are not staged, your only chance is a recycle-bin. If you are in ECLIPSE, you can use the local history to recover the files.

--Randall
Previous: Fayez Coder
Message 2 of 2 in “I delete files by mistake not in stage area”
  1. Fayez CoderJul 13, 2023
  2. rsbecker@nexbridge.comJul 13, 2023

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.