Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to transfer a project from user to a group in Gitlab?

Tags:

gitlab

I want to move a project under my username/ownership to a group whose owner is a different user. Something like https://gitlab/user/project to https://gitlab/group/project

How can I achieve this?

like image 853
Simar Singh Avatar asked Dec 27 '18 09:12

Simar Singh


People also ask

What is difference between group and project in GitLab?

Projects are where you'll do most of your work in GitLab. Create a group: GitLab's groups let you bunch projects together. This not only helps you organize your projects, but you can grant access to multiple projects more quickly.

How do you add a user to a group in GitLab?

Open your project page in GitLab, then click on Settings and select Members. Type the name of the User you want to add to your project into the Select members to invite field. Select a role for the user (Refer to GitLab Permissions for details).


1 Answers

You can do this in the left-hand sidebar, under Settings -> General -> Transfer project. You will need manage rights to that group that you are transferring to though.

  • Be careful. Changing the project's namespace can have unintended side effects.
  • You can only transfer the project to namespaces you manage.
  • You will need to update your local repositories to point to the new location.
  • Project visibility level will be changed to match namespace rules when transferring to a group.
like image 180
Dave Gruenewald Avatar answered Oct 08 '22 17:10

Dave Gruenewald