summaryrefslogtreecommitdiff
path: root/doc/raketasks/features.md
blob: 5425a0a06671c6f22fe722290ff313514cf6ef9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Namespaces

## 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.

Note:

- 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**.

**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
```