1. 程式人生 > >免登陸使用sourceTree

免登陸使用sourceTree

一、先說一下谷歌賬號登入的方法

1、在谷歌瀏覽器,選單->更多工具->擴充套件程式,新增谷歌訪問助手

谷歌訪問助手下載連結:https://pan.baidu.com/s/1eODbtu6iPOKEqPDacYYmUA

2、點選谷歌瀏覽器登入,註冊谷歌賬號,即可使用谷歌賬號登入sourceTree

二、windows使用者免登陸方法

1、安裝到達登入介面,關閉掉

2、在我的電腦位址列輸入:

%LocalAppData%\Atlassian\SourceTree\

3、在這個目錄下新建一個名為 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
  }
]

4、儲存檔案後,再次開啟sourceTree就可以直接進入了。