Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Recover accidentally deleted files by git reset hard

git fetch --all
git reset --hard origin/{{your branch name}}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Recover #accidentally #deleted #files #git #reset #hard
ADD COMMENT
Topic
Name
1+8 =