sourcetree跳過注冊的方法
目前隻有Win的版本,Mac自行百度(笑)
很多人用git指令行不熟練,那麼可以嘗試使用sourcetree進行操作。
然鵝~~sourcetree又一個比較嚴肅的問題就是,很多人不會跳過注冊或者操作注冊。
廢話不多,我們直接開始跳過注冊階段的操作。

下載下傳好之後會有這麼一個界面要求你注冊或登入。(不管它)将下面的一串串放進我的電腦的位址欄,打開sourcetree的檔案夾
%LocalAppData%\Atlassian\SourceTree\
通常長這樣
對,沒錯,你會看到一個很不和諧的檔案你是沒有的
恩,就是它,是以接下來你應該在目前檔案夾下建立一個json檔案,檔案名為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,恩,哒~哒哒~~~
和之前不一樣的界面,無需注冊,一秒999級,我系渣渣輝,你沒有玩過的全新版本,貪玩南粵????畫風好像變得很奇特的樣子。。。
咳咳,,就是這樣,sourcetree已經跳過注冊環節了。
網名:浩秦;
郵箱:root#landv.pw;
隻要我能控制一個國家的貨幣發行,我不在乎誰制定法律。金錢一旦作響,壞話隨之戛然而止。