解决办法:创建仓库完成后,将SSH换为HTTPS的仓库地址:
git报错:You do not have permission push to this repository
再执行:
git init
git add 你的文件
git commit -m “描述内容”
git remote add origin 你的仓库地址
git push -u origin master
就能成功上传代码。

相关文章:

  • 2021-05-29
  • 2021-04-03
  • 2021-05-27
  • 2021-05-26
  • 2021-09-15
猜你喜欢
  • 2021-10-06
  • 2021-11-14
  • 2021-07-10
  • 2021-04-28
  • 2022-01-23
  • 2021-09-09
  • 2022-01-05
相关资源
相似解决方案