Cmdlets for Azure DevOps

Build 24.0.9060

PushChanges

Pushes changes to a repository in your Azure DevOps instance.

Input

Name Type Required Description
ProjectId String False Id or name of project.
RepositoryId String True Id or name of repository. Must be set to repository id if ProjectId not set.
BranchRefName String True Fully resolved name of git branch.
OldObjectId String True Current Object ID of branch.
CommitComment String True Comment to be sent with commit.
ChangesAggregate String True Aggregate object which holds details of each change being made in the commit.

Result Set Columns

Name Type Description
NewObjectId String Object Id of repository after commit has completed.
CommitId String Id of generated Commit.
CommitTreeId String Id of commit tree for generated commit.
AuthorName String Name of file author.
AuthorEmail String Email address of file author.
AuthoredDate Datetime Creation date of affected file.
CommitterName String Name of commit author.
CommitterEmail String Email address of commit author.
CommittedDate Datetime Date of commit creation.
CommitUrl String URL of generated commit object.
RepositoryId String Id of affected repository.
RepositoryName String Name of affected repository.
PushId String Id of push to repository.
PushDate String Date of push to repository.
PushURL String URL of push to repository.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060