For the complete documentation index, see llms.txt. This page is also available as Markdown.

Merge-PSUGitEdit

Commits and merges a Git edit into the repository.

SYNOPSIS

Commits and merges a Git edit into the repository.

SYNTAX

Merge-PSUGitEdit -Message <String> [-Paths <String[]>] [-ComputerName <String>] [-AppToken <String>]
 [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
 [<CommonParameters>]

DESCRIPTION

Commits and merges a Git edit into the repository. This cmdlet will also push to the remote repository.

EXAMPLES

Example 1

PS C:\> Merge-PSUGitEdit -Message 'My commit message' -Paths 'C:\git\myrepo\file.txt'

Commits and merges the changes in file.txt with the commit message My commit message.

PARAMETERS

-AppToken

An application token to use for authentication.

-ComputerName

The URL of the server to connect to.

-Credential

The credential to use when connecting to the server.

-Integrated

For use when running within PowerShell Universal.

-Message

The commit message to use when committing the changes.

-Paths

The paths to commit.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-UseDefaultCredentials

Whether to use default credentials when connecting to PowerShell Universal. Requires Windows authentication to be enabled.

-Cookies

Reuses and persists authentication cookies for the current PowerShell session.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?