scripts

Get-GitFirstCommit.ps1

SYNOPSIS

Gets the SHA-1 hash of the first commit of the current repo.

SYNTAX

Get-GitFirstCommit.ps1 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

Get-GitFirstCommit.ps1

1fde7af20e8560c720d42227495e8d15459aafa4

PARAMETERS

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.String containing the SHA-1 hash of this repo’s first commit.

NOTES

Use-Command.ps1