The "describe" command:
Provide a description of the given VERSION by showing a non-propagating tag of the youngest tagged ancestor, followed by the number of commits since that, and the short hash of VERSION. Only tags applied to a single check-in are considered.
If no VERSION is provided, describe the current checked-out version.
If VERSION and the found ancestor refer to the same commit, the last two components are omitted, unless --long is provided. When no fitting tagged ancestor is found, show only the short hash of VERSION.
- Display so many hex digits of the hash (default: the larger of 6 and the 'hash-digit' setting)
- Show whether there are changes to be committed
- Always show all three components
- --match GLOB
- Consider only non-propagating tags matching GLOB