0
我目前有一个本地git master,用于上传到github帐户的学校项目。然后,我使用github在线将我的存储库转移到第二个github帐户(出于专业原因,我正在重塑品牌)。这很好。无法将本地git master同步到现有git hub远程存储库
新问题是有两个GitHub远程存储库。我删除了第一GitHub的仓库,然后添加第二个,但是当我试图
git push --set-upstream origin master
我很快就被告知:
remote: Permission to *****/****.git denied to myOldUserAccount.
fatal: unable to access 'https://github.com/*****/****.git/': The requested URL returned error: 403
我觉得这是一个登录问题GitHub上。我如何授权我的第二个账户参与我的第一个事务?我所有的搜索只返回Logout and login as another user git bash这在这种情况下没有帮助。
谢谢你,这是有帮助的! –