Archive for September 4, 2015

git: Completely revert the last commit

This entry is part 6 of 7 in the series git: useful HOWTOs
git reset --hard HEAD~1

will completely revert the last commit (i.e., everything from this commit will disappear).