🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
#### 简介 SourceTree是强大的Git/Mercurial桌面客户端,支持Windows和Mac操作系统。通过SourceTree美观简单的界面,你可以放弃命令行了。 #### 官网地址 ~~~ https://www.sourcetreeapp.com/ ~~~ #### 下载版本 ~~~ SourceTreeSetup-2.3.5.0 ~~~ #### 安装SourceTree SourceTree 安装之后需要使用账号登陆以授权,以前是可以不登陆的,但是现在是强制登陆。 方法: 1. 找到SourceTree配置目录一般位于:C:\Users\Administrator\AppData\Local\Atlassian\SourceTree,(即便你安装在其他盘符里); 2. 新建(或修改)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 } ] ~~~ 重新点击安装程序,即可跳过注册环节。 #### 选择安装内置Git ![](https://box.kancloud.cn/8b0c2ba06c67610412ba751027aaec1b_400x153.png) * * * * * #### 安装Git ~~~ https://git-for-windows.github.io/ ~~~ #### 注册 bitbucket ~~~ https://bitbucket.org/account/signup/?utm_source=sourcetree&utm_campaign=post_download&_ga=2.203938905.859807023.1510365950-2106140208.1510365950 ~~~