[关闭]
@zhangyy 2019-12-11T03:10:33.000000Z 字数 837 阅读 419

SourceTree 安装跳过注册步骤

运维系列



一: 安装文件:

image_1bv1i87vr1ui411ceuuu4h2e5g1p.png-399.5kB

  1. SourceTree 安装之后需要使用账号登陆以授权,并且是强制登陆。
  2. 登录过程非常漫长,并未在不FQ的情况下是不能成功的,下面记录一下跳过登录的方法。
  3. 装之后,转到用户本地文件夹下的 SourceTree 目录,找到accounts.json 文件,没有则新建。
  4. C:\Users\zhangyy\AppData\Local\Atlassian\SourceTree
  5. 输入以下内容保存即可

  1. [
  2. {
  3. "$id": "1",
  4. "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
  5. "Authenticate": true,
  6. "HostInstance": {
  7. "$id": "2",
  8. "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
  9. "Host": {
  10. "$id": "3",
  11. "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
  12. "Id": "atlassian account"
  13. },
  14. "BaseUrl": "https://id.atlassian.com/"
  15. },
  16. "Credentials": {
  17. "$id": "4",
  18. "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
  19. "Username": "",
  20. "Email": null
  21. },
  22. "IsDefault": false
  23. }
  24. ]

现在再打开 SourceTree,直接显示主窗口了。

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注