Hardcoded git User in bulk_import.rake
Created by: chopmann
# Clones a repo as bare git repo using the git user def clone_bare_repo_as_git(existing_path, new_path) begin sh "sudo -u git -i git clone --bare '#{existing_path}' #{new_path}" true rescue puts " ERROR: Faild to clone #{existing_path} to #{new_path}" false end end
Should take the git_user Value from gitlab.yml