
Not a git repository (or any of the parent directories): .git错误的解决办法
先进入要建立.git目录的文件位置,不然就会建在当前目录下

注意斜杠的方向——“/”,如果方向反了,会报错
![]()
然后 使用命令 git remote -v 查看你当前的 remote url
git init

再执行命令
git remote -v

ok,此时就可以了

Not a git repository (or any of the parent directories): .git错误的解决办法
先进入要建立.git目录的文件位置,不然就会建在当前目录下

注意斜杠的方向——“/”,如果方向反了,会报错
![]()
然后 使用命令 git remote -v 查看你当前的 remote url
git init

再执行命令
git remote -v

ok,此时就可以了

被折叠的 条评论
为什么被折叠?