Skip to content

Gitolite

randx edited this page Dec 5, 2011 · 17 revisions

Update gitlab to gitolite

  1. get latest code from master
  2. Backup /home/git/repositories
  3. Setup gitolite with repository umask 0007
  4. Restore repositories dir
  • Run chmod -R 770 repositories/ for imported repositories
  • Run chown -R git:git repositories/ for imported repositories
  1. Edit gitlab.yml with right config
  2. run bundle exec rake gitolite_rebuild RAILS_ENV=production
Clone this wiki locally