sourceTree 与 gitlab 配置
来源:互联网 发布:apache webservice 编辑:程序博客网 时间:2024/05/22 05:14
生成公/密钥
作用:使用git bash命令生成gitlab服务端和本地git相互传输时所需要校验的私钥和公钥,公钥用于配置gitlab,私钥用户配置sourcetree
前提:安装过git
操作:打开git bash, 设置user name, email
git config --global user.name "mark"git config --global user.email "mark@qq.com"ssh-keygen.exe -t rsa -C "mark@qq.com"
然后输入两次密码就生成成功了。
在C:\Users\Administrator.ssh 目录下就会有三个文件
配置gitlab公钥
登录你的gitlab 账号,在个人中心里–>设置里找到ssh key,然后把公钥用记事本打开,复制内容到gitlab的ssh key 配置里的key,然后title随便填写。
如图:
配置sourceTree
配置好gitlab后,就是最后一步了,配置sourceTree需要使用到私钥,在sourceTree的界面操作如下:
OOK,搞定了,现在用sourcetree 上传代码再也不用每次输入密码了。
阅读全文
1 0
- sourceTree 与 gitlab 配置
- sourcetree和gitlab配置图解
- sourcetree和gitlab配置图解
- gitlab和sourcetree配置ssh绕坑
- SourceTree通过配置SSH来链接GitLab
- gitlab和sourcetree配置ssh绕坑
- SourceTree安装教程和GitLab配置详解
- SourceTree安装教程和GitLab配置详解
- SourceTree安装教程和GitLab配置详解
- [转载]SourceTree安装教程和GitLab配置详解
- Mac 系统 使用SourceTree拉取Gitlab项目配置
- gitlab安装与配置
- gitlab安装与配置
- SourceTree GitLab添加SSH认证
- GitLab工具SourceTree使用文档
- GitLab结合SourceTree的使用
- gitlab和sourcetree的使用
- Gitlab安装配置与使用
- 关于启动图
- 面试题分享2
- Linux常用命令
- Elasticsearch系列(十一)----Spring整合Elasticsearch5.5.1的TransportClient客户端
- 关于java中一些小技巧
- sourceTree 与 gitlab 配置
- hdu 1251字典树
- 变量与常量
- .NET Core多平台开发体验[4]- Docker
- idea不能编辑,键盘随便输入显示search for的问题,不能按Esc键退出,光标不存在
- linux常用shell命令
- spark中的共享变量
- 运算符
- javascript实现私有属性与实例属性