summaryrefslogtreecommitdiff
path: root/doc/raketasks/features.md
blob: ecdf6aee069305eb54e13d2c004dad9778b649da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
stage: none
group: unassigned
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
---

# Namespaces **(CORE ONLY)**

This Rake task enables [namespaces](../user/group/index.md#namespaces) for projects.

## Enable usernames and namespaces for user projects

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

Note:

- The **repository location will change**, so you will need to **update all your Git URLs** to
  point to the new location.
- The username can be changed at **Profile > Account**.

For example:

- Old path: `git@example.org:myrepo.git`.
- New path: `git@example.org:username/myrepo.git` or `git@example.org:groupname/myrepo.git`.

```shell
bundle exec rake gitlab:enable_namespaces RAILS_ENV=production
```