新的代码仓库

仓库设置->Push Rules
	Check whether author is a GitLab user
	Maximum file size (MB)
	Commit author's email
仓库设置->Protected Branches



1、先备份仓库裸仓库
git clone --bare git://gitlab.com/test/bak.git
--bare 创建的克隆版本库都不包含工作区,直接就是版本库的内容。

2、在新的代码仓库上新建一个仓库。

3、然后推送裸仓库到新建的仓库上
cd bak.git
git push --mirror git@newpath/test/new.git
--mirror 会保留之前的版本提交记录