Enable usernames and namespaces for user projects

This command will enable the namespaces feature introduced in v4.0. It will move every project in its namespace folder.


  • Because the repository location will change, you will need to update all your git URLs to point to the new location.
  • Username can be changed at Profile / Account


Old path: [email protected]:myrepo.git

New path: [email protected]:username/myrepo.git or [email protected]:groupname/myrepo.git

bundle exec rake gitlab:enable_namespaces RAILS_ENV=production