有时候我们需要修改项目的clone地址
如何操作
打开gitlab容器、编辑gitlab.yml文件
`root@061df89f4dbb:/# vim /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml`
```
host: 192.168.2.238
port
为了代码的安全性,自行搭建了`gitlab`服务器
并且修改了`gitlab`服务器的`ssh端口号`
这样当然在`git clone`时,会发生错误
ssh: connect to host git.host.de:4019 port 22: `Connection refused`
fatal: The remote end hung