git 指令:丢弃本地所有未提交的更改

git clean -df //丢弃所有 untracked 的文件

git reset --hard //将 tracked 的文件重置到前一个版本