git

git reset --hard HEAD  没提交前,还原到最后一次提交

原文地址:https://www.cnblogs.com/anjsoft/p/4068015.html