re: and the second top voted question on StackOverflow is... VIEW POST

FULL DISCUSSION
 

git reset --hard HEAD, I cannot remember how many hundreds of thousands times I used this snippet and it saved me from disaster.

Great post!

 

New comers think twice before using git reset β€”hard

code of conduct - report abuse