版本控制工具 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:UsersAdministratorAppDataLocalAtlassianSourceTree
  3. 删掉文件passwduserhosts
  4. 打开sourcetree,然后再推送试试,就会提示输入用户名和密码了,ok
原文地址:https://www.cnblogs.com/guxingy/p/13883448.html