external help file: PSProjectStatus-help.xml Module Name: PSProjectStatus online version: https://bit.ly/3jSB1hH schema: 2.0.0
Get git project status.
Get-PSProjectGitStatus [<CommonParameters>]
Presumably you are using git to manage your project. If so, some git-related information is included in the PSProjectStatus output. Get-PSProjectGitStatus is intended to provide more git-specific details. You should run this command in the root of your project directory. If the project is not git initialized, nothing will be returned.
PS C:\Scripts\PSProjectStatus> Get-PSProjectGitStatus
Name Branch LastCommit Remote
---- ------ ---------- ------
PSProjectStatus 0.6.0 3/29/2022 5:23:20 PM @{RemoteName=origin; LastPush=3/26/2022 10:36:00 AM}
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This command has an alias of gitstat.
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/