Skip to content

Test-GitExists

SYNOPSIS

Checks if a `.git` directory exists in the specified path.

SYNTAX

Test-GitExists [[-Conn] <Object>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Conn

The connection object or directory path to check for the existence of a `.git` directory. Use [Get-GitConn](Get-GitConn.md)

Type: Object
Parameter Sets: (All)
Aliases:

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

INPUTS

OUTPUTS

[bool] True if the .git directory exists, otherwise False.

NOTES