orca.utils.gitutils

Git repository utilities.

Provides functions for querying git repository state, useful for tracking code versions in output metadata.

Functions

get_commit_id(→ str)

Get the current git commit hash.

Module Contents

orca.utils.gitutils.get_commit_id() str[source]

Get the current git commit hash.

Returns:

The full SHA-1 hash of the current HEAD commit.