默认路径是/var/opt/gitlab/git-data/repositories/组/库 修改conf 文件 [core] repositoryformatversion = 0 filemode = true bare = true [remote "origin"] url = /var/opt/gitlab/backups/repositories/service/ [receive] denyNonFastForwards = false