
处理fatal:远程错误:您无法将更改推送到git://github.com/username...
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
这段简介可以描述为:“解决在使用Git时遇到的权限问题,具体针对fatal: remote error: You do not have permission to push to the repository at git://github.com/username... 错误。通过检查身份验证和仓库访问权限来解决问题。”
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的方法是:今天在使用Git进行push操作的时候遇到了错误提示“fatal:remote error:You cant push to git://github.com/username/*.git”,看起来我没有权限执行推送操作。解决这个问题的办法如下:
1. 执行命令 `git remote rm origin` 来移除当前的远程仓库配置。
2. 然后使用命令 `git remote add origin git@github.com:username/resname.git` 添加新的正确的远程仓库地址。
这样就可以解决问题了。
全部评论 (0)
还没有任何评论哟~


