Commit to Git

Octopus.CommitToGit exported 2026-07-22 by Octopus Deploy belongs to ‘ArgoCD’ category.

Commit packages and files to a Git repository

Parameters

When this step is included in a project’s deployment process, the parameters below can be set.

Input file sources

Octopus.Action.Git.InputFileSources

A JSON array describing the sources of input files to commit. Each source must have a Type (‘Package’ or ‘GitRepository’), the relevant package or git dependency reference, a destination subfolder, and input file paths.

Example: [{"Type":"Package","PackageId":"MyPackage","PackageName":"MyPackage","DestinationSubfolder":"src","InputFilePaths":["**/*"]},{"Type":"GitRepository","GitDependencyName":"my-repo","DestinationSubfolder":"config","InputFilePaths":["*.yaml"]}]

Page updated on Wednesday, July 22, 2026