工具使用

2019-12-28  本文已影响0人  Pennywise_

1.sourceTree

①下载旧版本可绕过登录
https://www.sourcetreeapp.com/update/windowsupdates.txt
https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.9.13.7.exe
https://www.fyovo.com/343.html
②添加文件
在计算机目录下进入 %LocalAppData%\Atlassian\SourceTree
创建文件 accounts.json
文件代码:
[
{

"$id": "1", 
"$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
"Authenticate": true,
"HostInstance": {
  "$id": "2",
  "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
  "Host": {
    "$id": "3",
    "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
    "Id": "atlassian account"
  },
  "BaseUrl": "https://id.atlassian.com/"
},
"Credentials": {
  "$id": "4",
  "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
  "Username": "",
  "Email": null
},
"IsDefault": false 

}
]
③远端仓库账号密码输错或修改
工具-->选型-->验证
或者C:\Users...\AppData\Local\Atlassian\SourceTree下面找到了一个password的文件,删除相关的帐号密码,重新push,就会提示输入帐号密码,这个时候就修改了
或者切换内嵌与系统Git

上一篇 下一篇

猜你喜欢

热点阅读