CmdID

CmdID / Commands

git-check-ref-format

Check if a reference name is acceptable, and exit with a non-zero status if it is not. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Check the format of the specified reference name

git check-ref-format refs/head/refnameIdentify

Print the name of the last branch checked out

git check-ref-format --branch @{-1}Identify

Normalize a refname

git check-ref-format --normalize refs/head/refnameIdentify