【发布时间】:2017-09-22 11:26:40
【问题描述】:
我可以将我的项目添加到一个 github 帐户,但不能使用另一个帐户。我在 GitHub 上关注了这个网站并且工作正常:https://www.londonappdeveloper.com/how-to-use-git-hub-with-android-studio/#comment-32683
步骤是: 1. 创建一个新的 git repo。 2.从android studio-VCS>导入版本控制>创建git repo。 3. 在项目的 windows 根目录中打开 bash 命令并输入 > git remote add origin https://github.com/xxx/myProject.git 4. 然后回到 android studio 和 a)project>Git>add b)project>Git>Commit c) project>Git>repository >推
这些步骤运行良好,我使用一个 github 帐户收到一条成功消息。但是使用另一个帐户我无法做到这一点,我得到了错误:
Failed with error: fatal: unable to access 'https://github.com/Rashedul/myProject.git/': The requested URL returned error: 403
为什么会发生这种情况以及如何解决?
【问题讨论】:
标签: android git android-studio github