Skip to main content

Module git

Module git 

Source

Structsยง

GitVersion
Extracts the version by running git describe --tags --always.
GitVersionConfig
Configuration for GitVersion.

Functionsยง

default_dirty_suffix ๐Ÿ”’
git_commit_date ๐Ÿ”’
Run git log -1 --format=%cI <refspec> and parse the result as a UTC DateTime. Returns None on any failure so callers can treat the date as optional.