简体   繁体   中英

Restore All Deleted Files to the Current Working Directory from Git

I have accidentally deleted all files in frontend directory from my project. This is where I have everything. I can see all those files in the changes pane and it is marked with D . Is there any way I could retrieve completely everything.

Now, this is how my current project looks

在此处输入图像描述 在此处输入图像描述 在此处输入图像描述

Use "git reset --hard"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM