xcode4 git Push 访问 git 存储库时出现错误 403
我最近升级到 OS Lion 和 Xcode4,并克隆了我的 git 存储库来开始工作。克隆工作正常,我可以将已成功完成的更改提交到我的存储库,但是当我尝试推送更改时,出现以下错误:出
error: The requested URL returned error: 403 while accessing
https://[email protected]/sadmicrowave/iOS-Time-Blogger.git/info/refs
fatal: HTTP request failed
了什么问题?我已将 Mac SSH 密钥添加到我的 github 配置文件中,但我不知道为什么会遇到此问题...
I recently upgraded to OS Lion and Xcode4 and cloned a git repo of mine to start working on. The clone worked fine and I can commit changes I've made successfully to my repo but when I try to push the changes I get the following error:
error: The requested URL returned error: 403 while accessing
https://[email protected]/sadmicrowave/iOS-Time-Blogger.git/info/refs
fatal: HTTP request failed
What is wrong? I've added my Mac SSH key to my github profile, but I don't know why I'm having this issue...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 https URI 时身份验证似乎失败。我删除了原始克隆的存储库,并使用要求我进行身份验证的 git/ssh 地址重新克隆它,现在可用于推送、拉取、合并和提交。
It seems like the authentication was failing while using the https URI. I deleted the original cloned repo and recloned it using the git/ssh address which asked me to authenticate and now works for pushes, pulls, merges, and commits.