git reset --hard www file modified code example
Example 1: what to do with unstaged changes after reset
git reset --hard
Example 2: what to do with unstaged changes after reset
git rm --cached -r .
git reset --hard
git rm --cached -r .