< Back
Test-GitRepository
Post
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
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