修改gitlab代碼保存位置

默認存儲在默認存儲位置在/var/opt/gitlab/git-data/repositories若是要進行git倉庫的遷移,作以下操做git # 準備遷移以前要中止GitLab服務,防止用戶寫入數據。 [~]# gitlab-ctl stop # 注意 'repositories'後面不帶斜槓,而 # '/home/gitlab-data'後面是有斜槓的。 [~]# rsync -av /var
相關文章
相關標籤/搜索