Skip to content

Push Git

apobekiaris edited this page Sep 4, 2020 · 3 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh schema: 2.0.0

Push-Git

SYNOPSIS

Push a Git repository to a remote using a token.

SYNTAX

Push-Git [-AddAll] [-Message <String>] [-Branch <String>] [-Remote <String>] [-Username <String>]
 [-UserMail <String>] [-Force] [<CommonParameters>]

DESCRIPTION

Push a Git repository to a remote using a token.

EXAMPLES

Example 1

PS C:\> Push-Git -AddAll -Message $message -UserMail $GitUserEmail -Username "apobekiaris"

{{ Add example description here }}

PARAMETERS

-AddAll

{{ Fill AddAll Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Branch

{{ Fill Branch Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

{{ Fill Force Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Message

{{ Fill Message Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Remote

{{ Fill Remote Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserMail

{{ Fill UserMail Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Username

{{ Fill Username Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally