Share this page

# Fetch code

The `git fetch` command fetches the latest code from an OpenText Dimensions CM stream into the FETCH_HEAD in the local Git repository:

git fetch

Version 2.3 and later: This command also fetches any topic streams owned by the current user.

In this topic:

## Options

Git Client 2.3 supports these options:

`--depth`

`--deepen`

`--shallow-since`

`--unshallow`

For details, see the Git documentation.

Back to top

## Examples

- Fetch any changes made in OpenText Dimensions CM into the corresponding branches of the local Git repository. The option `--all` performs the fetch in all branches that correspond to OpenText Dimensions CM streams rather than just the current branch. Each new changeset that is fetched becomes a commit in the local Git repository.

  git fetch --all

- Fetch the three most recent changesets.

  git fetch --depth 3

Back to top

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