上一篇讲到了一些关于git工做流中的一些经常使用命令方法,接下来介绍一款git的可视化代码管理工具SourceTree。git
下载地址:www.sourcetreeapp.com/json
这个时候会要求咱们注册,若是你有谷歌帐号,并能上外网那就直接登陆吧。 否则 就按照下面这样的操做来: 先关闭该程序,接下来复制复制%LocalAppData%\Atlassian\SourceTree\到个人电脑地址栏敲回车,在该文件夹下面添加 accounts.json文件bash
[
{
"$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
}
]
复制代码
而后从新打开桌面的Sourcetree软件,这样直接跳过注册了。app
继续下一步,会让你选择用什么git工具
若是使用git客户端,选择我不想使用Mercurial便可post
接下来添加你的秘钥spa
使用git flow开发code
以上就是SourceTree的安装和使用了。cdn
上一篇git命令式开发blog