- git reset –hard origin/branch
- Reset current content to remote branch
- git reflog
- List a history of all commit HEAD points
- git reset –HEAD
- Reset current content to HEAD point
- git rm example/code.js
- remove a file
- git checkout .
- restore deleted file after a git reset