SourceTree跳过Atlassian账号添加

在安装sourceTree的时候让添加Atlassian账户,而且还不能跳过,太恶心了,解决方法:

在你取消安装后,sourceTree仍然在你的C盘创建了目录,在你的windows个人用户文件夹(C:\Users\admin\AppData\Local\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跳过Atlassian账号,免登陆,跳过初始设置

本文系转载

阅读更多
文章标签: git
个人分类: Git
上一篇struts的if标签使用
下一篇git的push操作问题:error: unpack failed: error Missing tree
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭