gitlab和sourcetree的使用
2017-09-27 16:56
155 查看
1.sourcetree安装时跳过Atlassian注册
在
2.重新打开sourcetree客户端,此时应该已经跳过Atlassian注册,然后安装git,安装Mercurial
3.注册gitlab账户,完成后,在sourcetree中打开 “工具”-》“选项”,配置用户信息,“全名”是gitlab用户名,“邮件地址”是gitlab邮箱
4.配置完成后,在本地仓库中,新建仓库,输入源路径url,设置本地目标路径以及项目名称,最后进行clone
在
C:\Users\'username'\AppData\Local\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 } ]
2.重新打开sourcetree客户端,此时应该已经跳过Atlassian注册,然后安装git,安装Mercurial
3.注册gitlab账户,完成后,在sourcetree中打开 “工具”-》“选项”,配置用户信息,“全名”是gitlab用户名,“邮件地址”是gitlab邮箱
4.配置完成后,在本地仓库中,新建仓库,输入源路径url,设置本地目标路径以及项目名称,最后进行clone
相关文章推荐
- Gitlab和Sourcetree结合使用实现代码管理
- 使用Gitlab和SourceTree进行版本控制
- GitLab和SourceTree的使用参考网址
- 关于sourcetree和gitlab的使用
- GitLab 结合 sourceTree 图形化管理使用
- sourceTree工具git和gitlab协同使用
- sourcetree和gitlab结合使用说明
- mac下gitLab、sourceTree的配合使用
- GitLab结合SourceTree的使用
- gitlab和sourcetree的使用的一些问题
- Mac 系统 使用SourceTree拉取Gitlab项目配置
- GitLab工具SourceTree使用文档
- 在SourceTree中使用Git submodule
- 使用Docker部署Gitlab
- eclipse svn 插件,使用ssh key登陆gitlab 设置
- Gitlab使用
- Git & Gitlab 使用指南
- git,github和sourcetree的简单使用
- windows中如何使用gitlab提交项目