Expand description
Git operations for Humanize.
This module provides git command wrappers for branch detection, commit SHA retrieval, and repository status checks.
Structs§
Enums§
- GitError
- Errors that can occur during git operations.
Functions§
- get_
ahead_ count - Get the number of commits ahead of upstream.
- get_
current_ branch - Get the current branch name.
- get_
git_ info - Get git repository information.
- get_
git_ status - Get git status file counts.
- get_
head_ sha - Get the HEAD commit SHA.
- get_
head_ sha_ short - Get the short HEAD commit SHA (7 characters).
- is_
ancestor - Check if one commit is an ancestor of another.
- is_
working_ tree_ clean - Check if the working tree is clean (no uncommitted changes).