sourcetree 跳過首次登入實現方法,sourcetree跳過

來源:互聯網
上載者:User

sourcetree 跳過首次登入實現方法,sourcetree跳過

sourcetree首次登入需要vpn才能訪問目標主機,然而本人手上只有代理沒有vpn咋個辦嘞?
1.下載舊版本的sourcetree https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-1.10.23.1.exe?_ga=2.163056572.16084660.1520596135-812401212.1520596135
2. 安裝好以後,先運行一波,看到需要登入的介面就關掉
3. 定位到使用者快取資料目錄:(需要在檔案夾選項中 開啟不隱藏檔案夾和不隱藏副檔名)
一般為: C:\Users\{使用者名稱}\AppData\Local\Atlassian
進入sourcetree目錄:C:\Users{使用者名稱}\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軟體

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.