git fetch origin
---- fetch from origin
git reset --hard origin/master
--- this is the real reset.

git clean -f -d
**** warning clean will remove all data and directories not tracked.
**** so if you have data file or untracked data - it will be gone.
**** Not really necessary to really sync the actual code.  But it will 
**** sync the directories.

Leave a Reply