how to nullify any remaining changes to file git 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 .