第一次安裝後,找到C:/Users/jiang(你的系統帳號用戶名)/AppData/Local/Atlassian/SourceTree目錄
新建accounts.json文件
內容: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 } ]
保存後再次安裝,
會彈出Mercurial詢問窗口,使用第四個選項"我不想使用Mercurial"。就能夠跳過Atlassian帳號登陸直接使用軟件啦code