Can‘t connet to repository from configured remote.You could want to check .git config.Do you want to

Can‘t connet to repository from configured remote.You could want to check .git config.Do you want to proceed anyway?

 

 

可能一些误操作导致项目需要重新托管,如上

解决方法:

1.进入项目根目录,win10系统的打开上面查看,隐藏的项目打钩。可以看到隐藏的文件夹.git

Can‘t connet to repository from configured remote.You could want to check .git config.Do you want to

2.打开.git目录下的config文件,删除下图选中的部分

Can‘t connet to repository from configured remote.You could want to check .git config.Do you want to

 

3.关闭studio,重新打开该项目就可以了。