Git

The Git source configuration type is implemented as an external type.

Git is a free and open source distributed version control system.

To use Git as an artifact source, select Git from the Source Config Type list and then specify its properties. For details about creating components, see Create components.

Git fields table

Field Description
Repository URL Enter the base URL for the Git repository.
Branch Enter the Git branch from which to get artifacts, such as main.
Watch for tags If selected, Deployment Automation watches for new tags instead of new versions.
Includes The patterns to match files to upload. The wildcard ** indicates every directory and * indicates every file. For example, dist/**/* retrieves the entire file tree under the dist directory.
Excludes The patterns to match files to exclude from the upload.
GIT Path

Enter the Git client executable, using the full path if necessary. For example:

git

Preserve Execute Permissions (Optional) Select this option to save file execute permissions along with the files.
Use Latest Component Properties for Version Download

(Optional) Select this option if you want Deployment Automation to use the properties set for the associated component instead of the properties that are set when the version is created.

Note: Component version properties are always preserved when a version is created.

Copy to CodeStation

(Optional) Use this option to create a tamper-proof copy of the artifacts and store them in the DA's embedded repository, CodeStation.

For optimal use of Deployment Automation, we recommend that this option is selected.

If you clear the option, Deployment Automation will save pointers to versions rather than the versions themselves. This lets you track versions and save space on your Deployment Automation server but limits your ability to download individual versions.

For details on maintaining versions in external sources, see Maintain versions externally.