解决Git更改账号后push报错的问题
问题描述:
我之前有个github的账号为A,如今要向账号B中push代码,虽然user.name和user.email都改过,但在push是会报以下错误:
remote: Permission to B/MyProject.git denied to A. fatal: unable to
access ‘https://github.com/B/MyProject.git/‘. The requested URL
returned error: 403