gitlab配置push f 关闭

默认路径是/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

原文地址:https://www.cnblogs.com/heal/p/6760430.html