git изхвърля промени
git checkout .
git изхвърля поетапно промяна
git reset HEAD
git checkout .
връщане необясними промени git
git checkout -- .
git изхвърля промени
Undoing the changes in the working directory
Use the checkout command in order to checkout the repository’s version.
RUN:
git checkout hello.html