将Pycharm项目提交到Github中出现Can't connect to repository from configured remote.错误

版权声明:博主GitHub网址https://github.com/29DCH,欢迎大家前来交流探讨和fork。 https://blog.csdn.net/CowBoySoBusy/article/details/82467454

删除了repositories中的项目,再次提交,出现:Can’t connect to repository from configured remote. You could want to check .git config.Do you want to proceed anyway?的错误

解决方法:

关闭Pycharm,进入上传的项目文件夹,查看隐藏文件(Linux按ctrl+H,windows点击图片左上角文件中的隐藏文件),会发现一个.git 的隐藏文件,删掉即可!
这里写图片描述

猜你喜欢

转载自blog.csdn.net/CowBoySoBusy/article/details/82467454