Significantly easier solution for new installations with version> 7.14.1 :
Open the gitlab.rb configuration file
sudo nano /etc/gitlab/gitlab.rb
Find git_data_dir , uncomment the line and set your directory here, e.g.
git_data_dir "/storage/data/gitlab/git-data"
Save the file and reconfigure Gitlab:
sudo gitlab-ctl reconfigure
Kovah Sep 01 '15 at 5:45 2015-09-01 05:45
source share