source tree是协助我们使用git的时候的一个GUI工具,安装的时候一直提示注册,但是因为网络问题,无法翻墙登录,下面提供免注册的方法。
1.访问安装路径:%LocalAppData%AtlassianSourceTree
2.新建文件 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 } ]
3.重启即可
参考资料:https://www.cnblogs.com/lucio110/p/8192792.html