前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SourceTree免登录使用

SourceTree免登录使用

作者头像
跟着阿笨一起玩NET
发布2020-06-22 15:37:47
1.8K0
发布2020-06-22 15:37:47
举报

官方下载地址:https://www.sourcetreeapp.com/download-archives

  • 旧版 旧版免登录只需要执行第二步即可,如下界面为旧版。
5b0c56c5f5196582d5262b21ffbf94b829b
5b0c56c5f5196582d5262b21ffbf94b829b
  • 新版 博主用的是SourceTreeSetup-3.3.8,如下界面为新版,第二、三步操作都需执行。
c35c22559ae6a305fa51fd14e367235afe2
c35c22559ae6a305fa51fd14e367235afe2

二、添加accounts.json

进入C:/Users/Administrator/AppData/Local/Atlassian/SourceTree目录,地址栏输入以下地址即可进入。

代码语言:javascript
复制
%LocalAppData%/Atlassian/SourceTree

添加accounts.json文件,内容如下:

代码语言:javascript
复制
[
  {
    "$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
  }
]

三、修改user.config

进入C:/Users/Administrator/AppData/Local/Atlassian/SourceTree.exe_Url_ehxo33lcbvsvb51tb25j1akl1v2frli5/3.3.8.3848目录,不同版本的目录结构可能不同,可输入以下地址自行进入。

代码语言:javascript
复制
%LocalAppData%/Atlassian

修改user.config文件,在标签<SourceTree.Properties.Settings>子级添加以下内容:

代码语言:javascript
复制
<setting name="AgreedToEULA" serializeAs="String">
  <value>True</value>
</setting>
<setting name="AgreedToEULAVersion" serializeAs="String">
  <value>20160201</value>
</setting>
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-06-20 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 二、添加accounts.json
  • 三、修改user.config
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档