Git
dsh153
这个作者很懒,什么都没留下…
展开
-
迁移包含子模块的Git仓库到私有服务器
迁移包含子模块的Git仓库到私有服务器 需要迁移的Git仓库在GitHub上,现在要将其迁移到私有服务器上的Gitlab 1. 获取原仓库镜像 git clone --mirror https://github.com/xxxx/xxx.git 2.在gitlab上新建project 3.将仓库镜像推送给gitlab cd xxx.git git push --mirror http://xx....原创 2019-08-15 18:19:01 · 875 阅读 · 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 · 372 阅读 · 1 评论