SyntaxFix
Write A Post
Hire A Developer
Questions
git restore [filename_path]
For example I need to discard my last changes in index.html file:
index.html
git restore /usr/myPC/folder/index.html