SourceTree跳過(guò)Atlassian賬號(hào),免登陸,跳過(guò)初始設(shè)置

image.png

SourceTree 安裝之后需要使用賬號(hào)登陸以授權(quán),并且是強(qiáng)制登陸。

登錄過(guò)程非常漫長(zhǎng),并未在不FQ的情況下是不能成功的,下面記錄一下跳過(guò)登錄的方法。

裝之后,轉(zhuǎn)到用戶本地文件夾下的 SourceTree 目錄,找到 accounts.json 文件,沒(méi)有則新建。

C:\Users\Administrator\AppData\Local\Atlassian\SourceTree

輸入以下內(nèi)容保存即可

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

大功告成,現(xiàn)在再打開(kāi) SourceTree,直接顯示主窗口了。

sourceTree Mac 跳過(guò)注冊(cè) 安裝

  1. 打開(kāi)sourcetree
  2. 關(guān)閉sourcetree
  3. 命令終端輸入defaults write com.torusknot.SourceTreeNotMAS completedWelcomeWizardVersion 3
  4. 打開(kāi)sourcetree即可跳過(guò)登錄
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容