美文网首页
Github Invalid username or pas

Github Invalid username or pas

作者: Arvin_雾里看花 | 来源:发表于2020-10-22 17:28 被阅读0次

最近在使用sourceTree是报错,报错文案如下

sourcetree remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/XXX.git/'

查询尝试了各种方式都不能解决,最后想了下这个很明显是验证问题,又联想起来最近改了git的密码,于是乎恍然大悟,修改方式如下

1: command+shift+g (就是finder中的前往文件夹),输入~/Library/

2: 找到Application Support/SourceTree

删除 “username(你的账户名称)@STAuth-x(你自己的后缀名称)” 

3: 重新打开SourceTree,会自动提示你重新输入密码,输入新的密码即可

相关文章

网友评论

      本文标题:Github Invalid username or pas

      本文链接:https://www.haomeiwen.com/subject/mdrpmktx.html