31,040
edits
| Line 159: | Line 159: | ||
If you prefer to forget completely all changes you made into all files (so to restore you workspace with content of remote repository), you can make a hard reset: | If you prefer to forget completely all changes you made into all files (so to restore you workspace with content of remote repository), you can make a hard reset: | ||
* With Eclipse | * With Eclipse: Right click on project top line and select "'''Reset'''" then "'''Hard'''" then "'''Reference - HEAD'''". | ||
* | * With GIT Command Line Interface: You can achieve this with command | ||
<source lang="bash"> | <source lang="bash"> | ||
git reset --hard HEAD | git reset --hard HEAD | ||