版本控制工具 Git SourceTree 登录信息等被我删除了 解决

报错:
remote: Incorrect username or password ( access token ) fatal: Authentication failed for
The authenticity of host 'gitee.com (180.97.125.228)' can't be established.

不想折腾,一个简单的方法

  1. 关掉sourcetree
  2. 进入目录:C:\Users\Administrator\AppData\Local\Atlassian\SourceTree
  3. 删掉文件passwduserhosts
  4. 打开sourcetree,然后再推送试试,就会提示输入用户名和密码了,ok
posted @ 2020-10-27 10:24  古兴越  阅读(335)  评论(0编辑  收藏  举报