![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
dsh153
这个作者很懒,什么都没留下…
展开
-
迁移包含子模块的Git仓库到私有服务器
迁移包含子模块的Git仓库到私有服务器需要迁移的Git仓库在GitHub上,现在要将其迁移到私有服务器上的Gitlab1. 获取原仓库镜像git clone --mirror https://github.com/xxxx/xxx.git2.在gitlab上新建project3.将仓库镜像推送给gitlabcd xxx.gitgit push --mirror http://xx....原创 2019-08-15 18:19:01 · 918 阅读 · 1 评论 -
ubuntu16.04搭建GitLab服务器
Ubuntun16.04 搭建Gitlab服务器1. 安装依赖包sudo apt-get install curl openssh-server ca-certificates postfix出现邮件配置使,选择Internet那一项(不带Smarthost的)2. 利用清华大学的镜像进行主程序的安装2.1首先信任 GitLab 的 GPG 公钥curl https://packag...原创 2019-08-16 18:11:29 · 374 阅读 · 1 评论