sourcetree跳过注册

粘贴到C盘就可以直接跳转到指定目录

%LocalAppData%\Atlassian\SourceTree\

在sourcetree里面创建一个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%\Atlassian,
进入“SourceTree.exe_Url_iayhtc13zv3obzuz5vchezjs1az2q5ef”
(注该目录可能和版本相关,不同版本的路径可能不完全一样。)

接着进入"3.1.3.3158"目录,打开user.config文件,在里面加入六行代码。


      True
            
            
     20160201
 

你可能感兴趣的:(开发工具)