sourcetree安装跳过账户注册

2018/06/15 软件&网站

source tree 安装跳过账户注册

1.点击安装包安装,到第二步注册账号时,退出程序

img

img

2.进入电脑文件夹:C:\Users{电脑账号用户名}\AppData\Local\Atlassian\SourceTree

img

3.新建文件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

}

]

img

img

4.保存关闭,重新打开安装程序

img

img

img

ok!!

Search

    Table of Contents