SourceTree
# SourceTree
# 下载地址
# 使用
配置:打开sourceTree——工具——选项——在SSH客户端中选择OpenSSH——完成
生成桌面图标,C:\Users\wangzhen\AppData\Local\SourceTree找到SourceTree.exe右键,发送到桌面图标
# 安装
- SourceTree 3安装跳过注册安装
以Windows端为例,最新下载的SourceTree版本为3.3.6,跳过注册安装的步骤如下:
- 安装SourceTree 3.3.6,执行到选择 bitbucket 的界面退出。
- 到 C:\Users{用户名}\AppData\Local\Atlassian\SourceTree\ 这个路径下创建 accounts.json ,并复制如下代码到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
}
]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- 打开SourceTree.exe_Url_apsrtoxwsrcvqebduamp3kk0yxymyfik\3.3.6.3829\下的user.config文件,增加如下代码:
<setting name="AgreedToEULA" serializeAs="String">
<value>True</value>
</setting>
<setting name="AgreedToEULAVersion" serializeAs="String">
<value>20160201</value>
</setting>
1
2
3
4
5
6
2
3
4
5
6
- 重新点击SourceTree.exe安装,弹出如下窗口时,选择最后一项安装即可。(我不想使用Mercurial)
更新时间: 3/11/2021, 10:44:08 AM