how to delete the changes in git code example
Example 1: git remove my local changes and pull from master
git reset --hard <your commit hash key>
Example 2: how to undo git clean -fd command
git clean -fdxn
git reset --hard <your commit hash key>
git clean -fdxn