Git Commit Input
Makes Git Commit easier to use from PowerShell by providing parameters for the -Message, -Title, -Body, and -Trailers
git commit -Title "Fixing Something"
"}
The message used for the commit
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | named | false |
The title of the commit. If -Message is also provided, this will become part of the -Body
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | named | false |
The body of the commit.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | named | false |
Any git trailers to add to the commit. git trailers are key-value pairs you can use to associate metadata with a commit. As this uses --trailer, this requires git version 2.33 or greater.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[IDictionary] |
false | named | false | Trailer CommitMetadata GitMetadata |
If set, will amend an existing commit.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
Extensions/Git.Commit.Input.UGit.Extension.ps1 [-Message <String>] [-Title <String>] [-Body <String>] [-Trailers <IDictionary>] [-Amend] [<CommonParameters>]