기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Unity Version Control

DevOps

On-prem

Gluon

Editor plug-in

Open Unity Dashboard

Unity Version Control

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Unity Version Control
  • Overview
  • Cloud Repositories organization update
  • Installation
  • Use UVCS with the Unity Editor
  • Unity Version Control plugins
  • Concepts
  • Tutorials
  • On-Prem
  • Gluon
  • CLI and shortcut references
    • Unity Version Control CLI
      • acl
      • activateuser
      • add
      • admin
      • annotate
      • api
      • applylocal
      • archive
      • attribute
      • autocomplete
      • branch
      • changelist
      • changerevisiontype
      • changeset
      • changeuserpassword
      • checkconnection
      • checkin
      • checkout
      • checkselectorsyntax
      • clone
      • codereview
      • configure
      • crypt
      • deactivateuser
      • diff
      • diffmetrics
      • fastexport
      • fastimport
      • fileinfo
      • find
      • getconfig
      • getfile
      • getrevision
      • getstatus
      • gettaskbranches
      • getworkspacefrompath
      • getworkspaceinfo
      • help
      • history
      • iostats
      • issuetracker
      • label
      • licenseinfo
      • linktask
      • list
      • listusers
      • location
      • lock
      • log
      • merge
      • move
      • objectspec
      • partial
      • patch
      • profile
      • pull
      • purge
      • push
      • query
      • remove
      • repository
      • revert
      • setowner
      • shelveset
      • show-find-objects
      • showacl
      • showcommands
      • showowner
      • showpermissions
      • support
      • switch
      • sync
      • trigger
      • tube
      • undelete
      • undo
      • undochange
      • undocheckout
      • undocheckoutunchanged
      • update
      • version
      • whoami
      • workspace
        • workspace create
        • workspace delete
        • workspace list
        • workspace move
        • workspace rename
      • workspacestatus
      • xlink
    • CLI help
    • Pipe commands
    • cm find
    • Windows keyboard shortcuts
  • Release Notes
  1. Unity Version Control (previously Plastic SCM)

WORKSPACE CREATE

Create workspaces with the Unity Version Control CLI.
읽는 시간 2분
최근 업데이트: 10달 전

Description

Creates a new workspace.

Usage

cm workspace | wk [create | mk] <rep_spec> [create | mk] <wk_name> <wk_path> [<rep_spec>] [create | mk] <wk_name> <wk_path> [--selector[=<selector_file>]
(Creates a new workspace.)
cm workspace | wk [create | mk] <wk_name> <wk_path> --dynamic --tree=[<tree>]
(Creates a dynamic workspace. This feature is still experimental, and it's only available for Windows.)

Options

Option / Argument

Description

--selectorEdits a selector for the new workspace. If a selector file is specified, then sets the selector for the new workspace from the specified file.
--dynamicCreates a dynamic workspace. This feature is still experimental, and it's only available for Windows. Specifying this flag requires using the --tree parameter.
--treeUsed with the '--dynamic' flag, specifies the initial point the dynamic workspace is going to load. It can either be a branch, changeset, or label specification. The workspace will later on use the repository in the spec. (Use 'cm help objectspec' to learn more about specs.)
wk_nameThe new workspace name.
wk_pathPath of the new workspace.
rep_specCreates the new workspace with the specified repository. Repository specification: check 'cm help objectspec'.

Help

Remarks

  • A workspace is a view of the repository mapped to the local filesystem. The workspace selector defines the rules that specify workspace content. Use 'cm showselector' to display a workspace selector or 'cm setselector' to modify it.
  • If neither rep_spec nor '--selector' is specified, then the workspace will automatically be configured to use the first repository (alphabetically) of the server configured in the client.conf file.
  • The dynamic workspaces is a experimental feature (Windows only), and it requires the plasticfs.exe program running.

Examples

cm workspace create mycode
cm wk mk mycode
(Creates a 'mycode' workspace pointing to the repository with the same name. The workspace directory will be created under the current directory.)
cm wk mk mycode@localhost:8084
cm wk mk mycode@myorganization@cloud
(Creates a 'mycode' workspace as before, but you can specify different repository server.)
cm workspace create myworkspace c:\workspace
cm wk mk myworkspace /home/john/plastic_view
(Creates 'myworkspace' workspace in Windows and in Linux respectively.)
cm wk mywktest c:\wks\wktest --selector=myselector.txt
(Creates 'mywktest' workspace using the selector in 'myselector.txt' file.)
cm wk mywkprj c:\wks\wkprj myrep@repserver:localhost:8084
(Creates 'mywkprj' workspace with the selected repository.)
cm wk mywkprj c:\dynwks\mywkprj --dynamic --tree=br:/main@myrep@localhost:8084
(Creates dynamic 'mywkprj' workspace with the 'myrep@localhost:8084' repository, pointing to 'br:/main' the first time it gets mounted.)

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Description

      • Usage

      • Options

    • Help

      • Remarks

      • Examples


이 페이지의 문제 보고