git - How to revert uncommitted changes

# Revert changes to modified files.
git reset --hard
# Remove all untracked files and directories. (`-f` is `force`, `-d` is `remove directories`)
git clean -fd

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file