Say I\'m in a Git repository. I delete a file and commit that change. I continue working and make some more commits. Then, I find I need to restore that file.
I know
To restore all those deleted files in a folder, enter the following command.
git ls-files -d | xargs git checkout --