SourceTree 使用手册(第一篇)
来源:互联网 发布:ubuntu 升级python 编辑:程序博客网 时间:2024/06/06 03:06
一、SourceTree简介
SourceTree 是 Windows 和Mac OS X 下免费的 Git 和 Hg 客户端,拥有可视化界面,容易上手操作。同时它也是Mercurial和Subversion版本控制系统工具。支持创建、提交、clone、push、pull 和merge等操作。
二、SourceTree基本使用
(以下以SourceTree For Mac V2.0.5.2中文版为例,托管平台以Github为例)
基本安装
1.1. 不建议在appstore直接搜索下载SourceTree,因为appstore里的版本已经十分老旧(好像是2012年更新的)。建议前往官网下载安装最新版,我这里也提供一个SourceTree for Mac V2.0.5.2的百度云的方便链接。 传送门→SourceTreeDownload
1.2. 拖动安装,Launchpad中打开,continue,输入github账号按下一步完成即可。没有Github账号的朋友,也可以跳过本步骤完成安装
注册GitHub(已有Github账号的朋友请跳过本步骤)
2.1. 打开Github官网 传送门→Github
2.2. 填写必要的信息,点击sigh up for github
三、登录sourcetree
登录时初始设置会碰见比较头疼的问题:
得需要Atlassian账号
注册条件得需要能访问google(需要翻墙)
当然还有更好的方法:SourceTree跳过Atlassian账号,免登陆,跳过初始设置
找到用户本地文件夹下的 SourceTree 目录,找到accounts.json 文件,没有则新建。
C:\Users\Administrator\AppData\Local\Atlassian\SourceTree
输入以下内容保存即可
[
{
"$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就可以成功跳过初始设置
- SourceTree 使用手册(第一篇)
- SourceTree 使用手册(第二篇)
- SourceTree 使用手册(问题篇)
- SendMessage函数完全使用手册(接上一篇)
- 第一篇(序)
- 每日工作 第一篇(一天一篇)
- 国际化困境(第一篇)
- 第一篇(学习心得--钩子)
- 关于moodle(第一篇)
- 搜索第一篇(迷宫)
- 国际化困境(第一篇)
- 算法总结(第一篇)
- jsp详解(第一篇)
- 【2016浴雨沐风】(第一篇)
- C++异常(第一篇)
- 高精(第一篇)
- 第一节课作业:(第一篇博客)
- GNU Make 使用手册(中译版) 第1部分
- 关于蓝牙mac地址规则
- 深入理解java中的组合和继承
- 【双11福利】文末评论免费送《零起点TensorFlow快速入门》
- 关于Spring中的<context:annotation-config/>配置
- Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
- SourceTree 使用手册(第一篇)
- JAVA中ListIterator和Iterator详解与辨析
- 下三角矩阵的压缩存储
- Vijos 3736 监狱重排
- 微信小程序模板中使用循环
- 小demo
- 熔断
- python笔记 11-01-2017 kmeans +random
- js实现图片上传