To remove all changes you made and “reset” to the last commit # Revert changes to modified files. git reset –hard # Remove all untracked files and directories. (`-f` is `force`, `-d` is `remove directories`) git clean -fd
Git Related Articles
Developers Thoughts, Posts & Notes