github改登录名之后,需要Changing a remote‘s URL
github改了登录名之后,直接上传代码至原来的remote的话,会报以下的错误
remote: Invalid username or password.
fatal: Authentication failed
然后按照如下操作下就可以了,这个再改名字的时候就有弹出提示让用户操作。
链接:https://docs.github.com/en/free-pro-team@latest/github/using-git/changing-a-remotes-url
...
原创
2020-11-28 23:07:40 ·
249 阅读 ·
0 评论