Share this page

# Clone streams

In Visual Studio Code, you can clone a Dimensions CM stream using the `Git Clone` or `Dimensions Clone` commands.

In this topic:

## Clone streams using Git Clone

You can use the `Git Clone` command to clone a Dimensions CM stream.

To clone streams using Git Clone:

1. In Visual Studio Code, select View > Command Palette.
2. Enter `Git Clone` and press Enter.
3. In the Repository URL field enter the URL of the Dimensions CM stream that you want to clone. For details about the URL format, see Git Client command-line format.
4. In the Select Folder dialog box, enter the location where to clone the stream.
5. Click Select Repository Location.

6. Click Open Repository to view the contents of the cloned stream.

Back to top

## Clone streams using Dimensions Clone

You can use the `Dimensions Clone` command to clone a Dimensions CM stream. Before cloning, optionally configure a connection to a Dimensions CM repository.

To connect a repository:

1. In Visual Studio Code, select View > Extensions.

2. Search for Dimensions CM.

3. In search results, right-click the Dimensions CM Git Client for VS Code plugin and select Extension Settings.

4. In the Connection String field, enter the URL of a Dimensions CM server in this format:

   http://server:[port]/databasename@connection/product/stream/

   For example:

   http://cmserver:8080/cm_typical@dim14/qlarius/savings

To clone streams using Dimensions Clone:

1. In Visual Studio Code, select View > Command Palette.
2. Enter Dimensions and select the command `Dimensions Clone`. If you previously specified a connection to Dimensions CM, Visual Studio Code automatically connects to the server.

   Tip: To connect to a different Dimensions CM repository, enter the command `Use other connection` and specify a connection string.

3. If prompted, select a Dimensions CM product and stream.
4. In the Select Folder dialog box, select the location where to clone the stream.
5. Click Select Repository Location. Visual Studio Code runs the clone command and the stream is cloned to the location you selected.

6. Click Open to view the contents of the cloned stream.

Back to top

See also:

- Git Client IDE plugin

https://admhelp.microfocus.com Dimensions CM 8942
Tips to improve your search results... Dimensions CM Help Center CM Help 14.7 All View Local Help Center View Online Help Center Version: