Simplicity and power in a beautiful Git GUI



A free Git client for Windows and Mac

Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree’s simple Git GUI.

Simple for beginners
Say goodbye to the command line - simplify distributed version control with a Git client and quickly bring everyone up to speed.

Powerful for experts
Perfect for making advanced users even more productive. Review changesets, stash, cherry-pick between branches and more.

Visualize your code
Seeing really is believing. Get information on any branch or commit with a single click.

Git and Hg on your desktop
A fully-featured GUI that offers an efficient, consistent development process right out of the box. Works with Git and Mercurial.

Commit with Confidence

Visualize your work and push with confidence. Stage and discard changes by the file, hunk or line.


For Windows

  1. 下载并运行exe安装包,会进入登录或注册bitbucket的界面。
  2. 进入目录:%LocalAppData%\Atlassian\SourceTree\
  3. 创建accounts.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": ""
"Credentials": {
"$id": "4",
"$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
"Username": "",
"Email": null
"IsDefault": false


博客内容遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议

总访问量为 次 , Loading day...loading time...