fatal:not a git repository (or any of the parent directories):.git

在执行如下命令时出现了错误:

git  branch  wyh
fatal:not a git repository (or any of the parent directories):.git

解决办法:

git init

然后就会出现Initialized......

然后就可以重新执行git  branch  wyh了。

猜你喜欢

转载自blog.csdn.net/QYHuiiQ/article/details/89460108
今日推荐