SourceTree

SourceTree for Windows 版本下载地址

官方:

 

云盘链接:

链接: https://pan.baidu.com/s/1X1pKm4p5396J8B7Usi1L3w 密码: mxc6

SourceTree for Mac版本下载地址

官方:

https://www.sourcetreeapp.com/

云盘:

待补充

 

 

 

问题:

安装好SourceTree后,首次使用时,需要通过账户登录,但注册或登录界面可能根本无法打开,导致无法进入软件 

解决办法

在目录C:\Users\{youruser}\AppData\Local\Atlassian\SourceTree 下创建文件accounts.json ,注意:{youruser}需要替换为登录系统用户名。

写入如下内容:

 1 [
 2   {
 3     "$id": "1",
 4     "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
 5     "Authenticate": true,
 6     "HostInstance": {
 7       "$id": "2",
 8       "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
 9       "Host": {
10         "$id": "3",
11         "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
12         "Id": "atlassian account"
13       },
14       "BaseUrl": "https://id.atlassian.com/"
15     },
16     "Credentials": {
17       "$id": "4",
18       "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
19       "Username": "username@email.com"
20     },
21     "IsDefault": false
22   }
23 ]

重新启动软件,顺利进入界面 

 https://blog.csdn.net/feosun/article/details/72807067

 

 

Mac破解方法

点击打开软件,进入让登陆安装的窗口,选择窗口,选择显示托管在远程的仓库,然后关闭安装注册窗口,直接使用显示托管的窗口。

posted @ 2018-04-10 10:51  苦心明  阅读(131)  评论(0)    收藏  举报