1、报错:fatal: not a git repository (or any of the parent directories): .git 解决方法:git init 2、取消 git init 命令:rm -rf .git