< Back

Git-CommitPush

Mon Jan 13, 2020 8:47 pm

NAME Git-CommitPush



SYNOPSIS

Executes Git Status, Commit & Push





SYNTAX

Git-CommitPush [-CommitMessage] <String> [-RepositoryDirectory] <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-CommitMessage <String>

Your commit message.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RepositoryDirectory <String>

Git repository root folder.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Git-CommitPush -CommitMessage 'Init commit' -RepositoryDirectory 'C:\\Code\\Repository'















RELATED LINKS