* I delete files by mistake not in stage area
@ 2023-07-13 17:57 Fayez Coder
2023-07-13 18:44 ` rsbecker
0 siblings, 1 reply; 2+ messages in thread
From: Fayez Coder @ 2023-07-13 17:57 UTC (permalink / raw
To: git
Hi,
I deleted files from my projects those files in change area not add it to stage area ,can I restore those files
Best wishes , fayez
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: I delete files by mistake not in stage area
2023-07-13 17:57 I delete files by mistake not in stage area Fayez Coder
@ 2023-07-13 18:44 ` rsbecker
0 siblings, 0 replies; 2+ messages in thread
From: rsbecker @ 2023-07-13 18:44 UTC (permalink / raw
To: 'Fayez Coder', git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-13 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13 17:57 I delete files by mistake not in stage area Fayez Coder
2023-07-13 18:44 ` rsbecker
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).