Create new streams

You can create branches locally and push them as new streams to Dimensions CM. Streams created by the Git Client by default are topic streams, which use pull requests for reviewing and merging changes.

For details about topic streams, see the desktop client and web client user help.

You can also create normal streams. For details, see Push changes.

Continuing from the earlier example, Branching, assume that you want to create a new branch from the mainline called feature2:

  1. Switch to the main branch:

    git checkout main

  2. Create the new local branch:

    git checkout -b feature2

  3. Make changes in the new local branch and commit them:

    git commit -m “made some changes in a new branch”

  4. (Optional, v2.3 and later) Specify the topic request to use when pushing the branch:

    git dm set topicrequest=QLARIUS_CR_26

  5. Push the new branch to Dimensions CM, which creates a new stream. You must push and set the upstream reference to the name of the new stream:

    git push --set-upstream origin feature2

This creates a new stream QLARIUS:FEATURE2 and delivers the changes to it.

The streams in Dimensions CM now look like this:

Back to top

Next steps: