Jul 032012
How to restore locally deleted files using git
Answer:
To restore all the locally deleted files (but before commit), you can use the following command:
# git ls-files -d | xargs git checkout --
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to restore locally deleted files using git
Answer:
To restore all the locally deleted files (but before commit), you can use the following command:
# git ls-files -d | xargs git checkout --