sourcetree安装以及跳过sourcetree注册登录 - git仓库管理工具桌面版
下载完直接安装就好啦
如果是mac的,可以创建一个免费的账户(FQ),然后将vpn设置为全局的,然后点击app的登陆,会跳到网页(提前登陆注册好的账户),然后点击同意会跳到app,登陆搞定
下面就来说说win下的如何来跳过登录吧
sourcetree是一个免费的git管理工具,但是让人头痛的就是sourcetree 的注册登录了
下面我就说一下如何跳过sourcetree注册登录
在打开sourcetree.exe后,会显示如下:
不用管这个界面,按下键盘 win+E 打开文件管理器赋值如下代码到地址栏
%LocalAppData%\Atlassian\SourceTree\
打开界面如下显示
找到 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 } ]
然后保存重启就好啦