Expand description
Git utilities for version control operations
Provides utilities for interacting with git repositories, including checkpoints, diffs, and log retrieval.
Structs§
- GitCommit
- Git commit information
- GitDiff
- Git diff result
- GitLog
Entry - Git log entry
- GitStatus
- Git status
Functions§
- find_
git_ root - Find the git root directory by walking up from a path
- get_
current_ branch - Get the current branch name
- get_
git_ root - Get the git root for a given directory
- git_
ahead_ behind - Get the number of commits ahead/behind a remote branch
- git_
checkpoint - Create a checkpoint commit
- git_
diff - Get the git diff output
- git_
file_ is_ modified - Check if a file has uncommitted changes
- git_
file_ last_ modified - Get the last modified date of a file in the repo
- git_log
- Get the git log
- git_
restore - Restore a file or path to a specific commit
- git_
status - Get git status
- git_
tags_ containing - Get the tags that contain a specific commit
- is_
detached_ head - Check if the repository is in detached HEAD state
- is_
git_ repo - Check if a directory is a git repository