git
Module for Git utilities.
Functions:
| Name | Description |
|---|---|
local_repo_commit_wandb_tags |
Build a list of tags for logging (like with Weights and Biases) describing the git status of the given dependencies, if installed |
local_repo_commit_wandb_tags
¶
local_repo_commit_wandb_tags(*modules: module) -> list[str]
Build a list of tags for logging (like with Weights and Biases) describing the git status of the given dependencies, if installed locally.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
module
|
The Python modules to build local install tags for. |
required |
Returns:
| Type | Description |
|---|---|
list[str]
|
A list of string including the local repo's remote name, its current commit SHA or git tag (if an exact match), and the branch name |
list[str]
|
(if not detached). |