By accident i deleted PHP files with:
git clean -xfd
There is any good files recover tool for Windown PC to recover those files? Or any other good solution?
Thanks!
By accident i deleted PHP files with:
git clean -xfd
There is any good files recover tool for Windown PC to recover those files? Or any other good solution?
Thanks!
Copyright © 2021 Jogjafile Inc.
wish its not late for this... but... if you didn't change the remote branch yet, you can make this:
(you can use -- if you want to fetch just 1 branch)
With those commands you will have your local branch as the remote branch.
Example:
File = index.html
Remote branch(dev) =
<html>... a lot of stuff ... </html>
Local Branch(dev) =
<html><html><html><html>Bugged or deleted<html><html>
After
git fetch --dev && git reset --hard origin/dev
you local branch will be like the remote one.