Get-GitConn¶
SYNOPSIS¶
Creates a hashtable representing a Git connection.
SYNTAX¶
Get-GitConn [-Dir] <String> [[-Branch] <Object>] [[-Repository] <Object>] [[-RepositoryUrl] <Object>]
[[-RefSpec] <Object>] [[-Timeout] <Object>] [-ReadStdOut] [<CommonParameters>]
DESCRIPTION¶
{{ Fill in the Description }}
EXAMPLES¶
Example 1¶
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS¶
-Dir¶
The directory path where the Git repository is located. This parameter is mandatory.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Branch¶
The branch name of the Git repository.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Repository¶
The name of the Git repository.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RepositoryUrl¶
The URL of the Git repository.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RefSpec¶
The refspec used for Git operations.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Timeout¶
The timeout value for Git operations.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReadStdOut¶
A switch to indicate whether to read standard output.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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.