< Back
New-PullRequest
Post
NAME New-PullRequest
SYNTAX
New-PullRequest -Owner <string> -Repo <string> -AuthToken <string> -Title <string> -Head <string> -Base <string>
[-Body <string>] [-MaintainerCanModify <bool>] [-Draft <bool>] [<CommonParameters>]
New-PullRequest -Owner <string> -Repo <string> -Username <string> -PAT <string> -Title <string> -Head <string>
-Base <string> [-Body <string>] [-MaintainerCanModify <bool>] [-Draft <bool>] [<CommonParameters>]
PARAMETERS
-AuthToken <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name AuthToken
Aliases None
Dynamic? false
-Base <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Body <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Draft <bool>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Head <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-MaintainerCanModify <bool>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Owner <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-PAT <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name PAT
Aliases None
Dynamic? false
-Repo <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Title <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Username <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name PAT
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
SYNTAX
New-PullRequest -Owner <string> -Repo <string> -AuthToken <string> -Title <string> -Head <string> -Base <string>
[-Body <string>] [-MaintainerCanModify <bool>] [-Draft <bool>] [<CommonParameters>]
New-PullRequest -Owner <string> -Repo <string> -Username <string> -PAT <string> -Title <string> -Head <string>
-Base <string> [-Body <string>] [-MaintainerCanModify <bool>] [-Draft <bool>] [<CommonParameters>]
PARAMETERS
-AuthToken <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name AuthToken
Aliases None
Dynamic? false
-Base <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Body <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Draft <bool>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Head <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-MaintainerCanModify <bool>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Owner <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-PAT <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name PAT
Aliases None
Dynamic? false
-Repo <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Title <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Username <string>
Required? true
Position? Named
Accept pipeline input? false
Parameter set name PAT
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None