centos 192.168.0.1
yum -y install gitlab-ce-10.0.0.2-ce.0.el7.x86_64.rpm
修改访问的url地址
vim /etc/gitlab/gitlab.rb
external_url '192.168.81.0.1'
重新配置并启动gitlab
gitlab-ctl reconfigure
复制gitlab仓库
yum -y install git
配置用户名的联系方式
git config --global user.name
git configure --global user.email ""
复制仓库到本地
git clone http://192.168.0.1/wordpress.git
推送wordpress
git add.
git commit -m "/root/wordpress"
git push
gitlab页面刷新即可看到文件