Change your organization slug
Change the organization slug in Unity Version Control and update the workspaces and scripts that use it.
読み終わるまでの所要時間 3 分最終更新 2日前
Change your organization slug when you want a different identifier for your organization in Unity Version Control, for example after your organization changes its name. This page explains who can change the slug, which slugs are valid, how to change it in the Unity Dashboard, and how to update your workspaces and scripts afterward.
The organization slug is the part of that identifies your organization in Unity Version Control. It appears as the server name in the client and in repository specs such as .
slug@unitymyproject/myrepo@myorg@unityOrganization owners and managers can change the slug in the Unity Dashboard. Other members can see it but can't edit it.
Slug rules
A valid slug meets the following rules:
- Contains only lowercase letters, digits, and hyphens.
- Starts with a letter.
- Ends with a letter or a digit.
- Contains between 3 and 255 characters.
- Isn't in use by another organization.
The Unity Dashboard checks the format and availability as you type. You can't reuse the current slug.
Change the slug
To change the organization slug:
- In the Unity Dashboard, go to Development > Products.
- Select Collaboration > Version Control.
- Select Settings.
- Select the General tab. The Slug field shows the current slug.
- Next to the Slug field, select Edit (pencil icon). A warning explains that the old slug stops working immediately.
- Enter the new slug, then select Save.
- In the Change slug? dialog, select Change slug.
After you save the change, the old slug stops working. Your repositories, history, and permissions stay the same. No other organization can use the old slug, so you can change your slug back to it later.
Update references to the old slug
After the change, update every reference to outside the Unity Dashboard. Check the following places:
oldslug@unity- Workspaces
- CI jobs
- Build scripts
- Selectors and configuration files
Point a workspace to the new slug
Existing workspaces can keep working after you change the slug, but Unity recommends that you switch them to the new slug. The first time you use the new slug, Unity Version Control asks you to sign in again.
To point an existing workspace to the new slug:
-
In the workspace directory, run(alias
cm workspaceinfo) to see the branch the workspace is on.cm wi -
Runwith that branch and the new slug:
cm switchcm switch br:/main@myproject/myrepo@newslug@unity
Replace the placeholders with your own values:
- : the branch the workspace is on now.
/main - : the project and repository of the workspace.
myproject/myrepo - : your new organization slug.
newslug