remove deleted file from git status code example
Example 1: recover lost file git
git log --diff-filter=D --summary
git checkout $commit path/to/file
Example 2: remove git deleted files
git commit -m "Deleted files manually"
git log --diff-filter=D --summary
git checkout $commit path/to/file
git commit -m "Deleted files manually"