配置git |sourcetree |gitlab

1.确认自己电脑是否安装 git 客户端 没有就要去下载 安装

2 首先下载 Sourcetree 并安装 到本地

https://www.sourcetreeapp.com

sourcetree需要注册登录,但是sourcetree注册服务器比较卡顿,如果注册不了 打不开

windows 和mac 都可以尝试 跳过 注册

SoureTree安装的过程中,按这个链接里面的方法https://www.jianshu.com/p/3478e2a214a1可以跳过注册

3. 登录我们的gitlab 服务器 先注册后再登录,

Configuring the external URL for GitLab
In order for GitLab to display correct repository clone links to your users it needs to know the URL under which it is reached by your users, e.g. http://gitlab.example.com. Add or edit the following line in /etc/gitlab/gitlab.rb:

external_url "http://gitlab.example.com"

Run sudo gitlab-ctl reconfigure for the change to take effect.

3.1. 获取自己电脑本机 的 ssh 公钥 ,然后将公钥内容粘贴到 gitlab 服务器 ssh-keys中

4. 选择 项目 进行克隆到本地

比如

git@http://cdhnode3:muller/awesome_etl.git

在Sourcetree 里操作 远程仓库

也可以 在命令行里操作

cd somerepodir

git clone git@10.111.32.19:muller/awesome_etl.git

git 的相关 文章

https://wenku.baidu.com/view/5c6f2266ec3a87c24128c443.html?from=search

https://www.zybuluo.com/yangfch3/note/159758

git 的相关 图介绍


Git-conflict.png
GIT-interview-Question-and-Answers.png
git.png
etl_ml.png
image.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 《我的散文集》目录 听说学轻功的人最开始练基本功的时候需要在腿上绑上沙袋。以后会逐渐增加沙袋的重量,...
    潇湘月明阅读 957评论 6 5
  • 一 朱提提的大蜗牛昨晚上仙逝了一只,剩下的一只可能感觉到了同伴的死亡,变得蔫蔫的。我很担心它也会死,于是时不时地把...
    王了一一阅读 253评论 5 8