Gitee提交git push报错[session-5e48dd8b] Auth error: DeployKey does not support push codefatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
1.出现问题
我的本地代码要提交到远程gitee仓库,以前是配了ssh公钥的,感觉应该是我换了电脑。
2.解决方法
将自己项目的ssh链接复制下来,然后找到自己要上传的项目文件夹,右键git bash here。
然后将新生成的公钥添加到gitee的配置中
最后再git push,即可上传成功。