進入文件夾,直接在地址欄上輸入即可進入
%LocalAppData%\Atlassian\SourceTree\
image.png
image.png
新建一個json文件妻熊,命名為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
}
]
再次安裝即可饮六!
如果安裝完找不到快捷方式,則進入文件夾在地址欄輸入%LocalAppData%\SourceTree
進入文件夾app-xxx刷钢,找到SourceTree.exe,右鍵發(fā)送到桌面快捷方式即可