错误信息
Username for ‘https://github.com‘: ×××××
Password for ‘https://××××@github.com’:
remote: Invalid username or password.
fatal: Authentication failed for

网上查的都说美有添加ssh key
但是我是git clone 的https方式

最终只是从新定义了一下那个配置,如下:
gitconfig–globaluser.name“name” <script type="math/tex" id="MathJax-Element-20"> git config –global user.name “name” </script> git config –global user.email name@gmail.com

继续执行git 命令 用户名 密码 ok 报错解决

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐