若是出现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