Expand description
Git metadata helpers.
Retrieves the current commit hash and detects uncommitted changes in the project directory. Used to tag deployments with source-control context.
Functionsยง
- get_
git_ commit - Get the current git commit hash of the project directory.
- is_
dirty - Returns
trueif the repo contains any uncommitted or unstaged changes.