git revert all local changes 20. July 201720. April 2015 by Robert Ressl git revert all local changes git reset --hard HEAD