< Back

Test-GitRepository

Sun Jan 19, 2020 5:34 pm

NAME Test-GitRepository



SYNOPSIS

Test if the current directory is a git repository.





SYNTAX

Test-GitRepository [<CommonParameters>]





DESCRIPTION

Recursive test the current and all it's parents if the repository is

part of a git repository. It will use the current location provieded by

the Get-Location cmdlet.





PARAMETERS

<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

System.Boolean







RELATED LINKS