首页 > 其他 > 详细

SourceTree安装注意事项

时间:2017-10-10 21:36:17      阅读:272      评论:0      收藏:0      [点我收藏+]

1.安装SourceTree时候,可以跳过账户填写流程,即:SourceTree跳过Atlassian账号,

  免登陆,跳过初始设置(http://www.cnblogs.com/diyishijian/p/6726792.html)。
  为防止后续网页失效,现搬运过来具体操作流程:
  1).安装之后,转到用户本地文件夹下的

    SourceTree 目录(默认是:C:\Users\Administrator\AppData\Local\Atlassian\SourceTree),

    找到accounts.json 文件,没有则新建。
  2).输入以下内容保存即可

[
          {
            "$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
          }
        ]

2.不知道是不是bug,SourceTree的默认git账户是无法在SourceTree本身修改的。

  如果不小心添加了很多莫名其妙的账户,那么为了清爽,

  就要删除这些记录。

  方法如下(https://segmentfault.com/q/1010000005268437/)

  同样为了防止网页失效,搬运如下:

    win10 保存在用户凭据里
    控制面板 》 用户帐户 》 管理你的凭据
    选择 [Windows 凭据]
    git 保存的用户信息在普通凭据列表里

SourceTree安装注意事项

原文:http://www.cnblogs.com/nssdeblog/p/7647600.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!