-
-
Notifications
You must be signed in to change notification settings - Fork 7
Get GitRootDirectory
Apostolis Bekiaris edited this page Apr 26, 2020
·
2 revisions
Returns the root directory of a local git repository.
Get-GitRootDirectory [[-Path] <PathInfo>] [<CommonParameters>]
Returns the root directory of a local git repository.
PS C:\> C:\Work\eXpandFramework\DevExpress.XAF\bin> Get-GitRootDirectory
Directory: C:\Work\eXpandFramework
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 4/20/2020 6:39 PM DevExpress.XAF
Returns the git root of the C:\Work\eXpandFramework\DevExpress.XAF\bin
{{ Fill Path Description }}
Type: PathInfo
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.