【发布时间】:2018-10-24 12:08:09
【问题描述】:
最初我的 git 登录到 abc@gmail.com 稍后我想将我的新代码推送到存储库以发送电子邮件至 xyz@gmail.com
试图在 github 上推送我的 android 代码。
所有步骤都很顺利。现在我最后一次这样做的时候:
git push origin master
它显示:
remote: Permission to ****/******.git denied to xyz@gmail.com.
fatal: unable to access 'https://github.com/*********/ScanFiles.git/': The requested URL returned error: 403
但是当我这样做时:git config --global user.email
它显示xyc@gmail.com。
有什么问题?
【问题讨论】:
-
你在 github 上的个人资料中是否列出了这两个电子邮件?
-
是的,我的仓库也是在github上完美创建的
-
你找到解决办法了吗?
标签: git android-studio github