Not a git repository (or any of the parent directories): .git解决

首先git init 。然后在执行就行了。意思应该是当前目录不是git。

原文地址:https://www.cnblogs.com/caoxinyu/p/6647883.html