1、撤销本地修改。
git checkout .
2、撤销本地所有修改
git reset --hard HEAD^
3、撤销本地修改与新增
git checkout . && git clean -xdf