FAQ Get,update GIT project sources: Difference between revisions

m
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, right click on project top line and select "'''Reset'''" then "'''Hard'''" then "'''Reference - HEAD'''".
* With Eclipse: Right click on project top line and select "'''Reset'''" then "'''Hard'''" then "'''Reference - HEAD'''".
* Using GIT command line tool, you can achieve this with command
* 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