若是出現push不進去或者使用命令push認證失敗時,極可能是你密碼有誤或者用戶衝突,解決辦法以下:
1.進入目錄,找到文件後先備份一下
注意:appData可能隱藏了,如果隱藏,先讓其顯示 git
2.再複製一份Atlassian文件,修改這個裏面的內容app
3.這一步爲跳過source Tree的登陸註冊步驟,也是從新設置用戶認證,之因此跳過source Tree的登陸註冊步驟是由於此步驟比較繁瑣,有時即便你填寫無誤也可能會登不上去,因此,乾脆免了spa
[ { "$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.按照下圖克隆git地址code
5..到source tree 打開文件 克隆便可blog