安装SourceTree教程
Posted 怀君
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装SourceTree教程相关的知识,希望对你有一定的参考价值。
安装SourceTree教程跳过注册流程
- https://www.sourcetreeapp.com/ 下载地址
- 在电脑未翻墙的情况下,则需配置账号密码。跳过登录账号操作!
- 期间还遇到过让安装 Microsoft .NET Framework,具体原因是电脑安装的版本过低,下载安装就是了
2.解决方案
创建一个accounts.json文件,将其放到 C:\\Users\\Administrator\\AppData\\Local\\Atlassian\\SourceTree目录当中
[
"$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
]
进入该目录C:\\Users\\Administrator\\AppData\\Local\\Atlassian\\SourceTree.exe_Url_ul4qrk3hz4zqb14vcaiypmrdv255kkqk\\3.3.8.3848 打开 user.config 文件添加以下代码
记住放在同级目录上
<setting name="AgreedToEULA" serializeAs="String">
<value>True</value>
</setting>
<setting name="AgreedToEULAVersion" serializeAs="String">
<value>20160201</value>
</setting>
以上是关于安装SourceTree教程的主要内容,如果未能解决你的问题,请参考以下文章