gitbranch

Check the branch of a repository.


File Name  : gitbranch.ps1
Author     : Adewale Azeez - iamthecarisma@gmail.com
Date       : Sep-06-2020

Print out the branch infomation of a git repository.

Syntax

gitbranch [<CommonParameters>]

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

System.String[]

Outputs

git branch INFO

EXAMPLE 1

gitbranch

Print out the branch of the repository