SourceTree

 

結合工具:   好好的熟悉git命令    理解git的工做機制啊!java

 

1.git bash很方便的啊  git

2.git的完善: 建立git補丁     git變基        json

 

一:下載並安裝sourceTree:(版本要低一點的,新版本沒法破解!)bash

二:C:\Users\Administrator\AppData\Local\Atlassian\SourceTree  在此目錄下添加一個accounts.json文件 (找不到這個路徑:查看文件選項,勾選不隱藏文件夾)工具

三:複製如下內容到accounts.json,保存文件,而後再打開sourceTree就自動跳過註冊了!  blog

[
  {
    "$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
  }
]
相關文章
相關標籤/搜索