没有安装.NET的会提示先安装.NET



到这就先关掉,然后打开我的电脑,将下面代码粘贴到地址栏
%LocalAppData%\Atlassian\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
}
]
然后保存,重新打开sourcetree就好啦,跳过注册,会选择用什么Git

如果使用git客户端,选择我不想使用Mercurial即可.

然后就可以轻松使用啦
网友评论