第一次提交,显示创建了repositories,但是代码push不上,之后我删除了相应的repositories,再次提交,出现:Can't connect to repository from configured remote. You could want to check .git config.Do you want to proceed anyway?

解决办法:关闭Pycharm,进入项目文件夹,查看隐藏文件,可以看到.git文件夹,进入后查看config文件,删除[remote "origin"]以及所包含的url 和fetch共三行。重启AS,并提交到git。

相关文章:

  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2021-11-13
  • 2021-11-12
猜你喜欢
  • 2021-08-09
  • 2021-08-27
  • 2022-02-25
  • 2022-12-23
  • 2021-08-07
  • 2021-09-07
  • 2021-11-09
相关资源
相似解决方案