sourcetree教程(去掉注册账号)

在打开sourcetree的时候,我们会出现让我们去申请账户的情况,如下:
sourcetree教程(去掉注册账号)_第1张图片

我们可以去掉这一步直接跳过,需在C:\Users\AppData\Local\Atlassian\SourceTree目录下添加一个accounts.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  
  }  
]  

打开即可跳过注册账户流程

你可能感兴趣的:(sourcetree)