SoureTree是git的一个客户端工具
soureTree 免注册安装步骤:
(1)先安装git
(2)双击sourceTree软件安装包
(3)待sourceTree安装界面出现后,关闭安装界面
(4)电脑搜索windows+R 输入 %LocalAppData%\Atlassian\SourceTree\
(5)将 accounts.json 文件 ,放到此目录下面
(6)双击sourceTree软件安装包,此时已跳过注册流程
(7)如果sourceTree安装过程中,提示没有检测到git,我们手动选出git的安装路径(bin 下的git.exe)
(8)安装最后一步提示 没有检测到已安装的mercurial,点击我不想使用mercurial 即可。
参考:http://blog.csdn.net/u010289111/article/details/54706836
accounts.json 内容如下:
ps : accounts.json中的内容不知道什么意思,但是知道不能一股脑的拷贝,至少里面的username和id得改改吧
[
{
"$id": "1",
"$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
"IsDefault": false,
"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": "yyw.hh@qq.com",
"Email": null,
"AvatarURL": null,
"AuthenticationScheme": {
"$type": "SourceTree.Model.BasicAuthAuthenticationScheme, SourceTree.Api.Account",
"Value": "Username/Password",
"Name": "Basic",
"Description": "Password",
"HeaderValuePrefix": "Basic",
"UsernameIsRequired": true
},
"Id": "yyw.hh@qq.com",
"DisplayName": null
}
}
]