Expand description
Git branch tracking utilities for mi6.
This module provides functionality to:
- Capture the current git branch from a working directory
- Parse branch names to extract PR/issue numbers
- Detect git branch-changing commands in shell commands
Structs§
- GitBranch
Info - Result of parsing a git branch name for PR/issue numbers.
Functions§
- get_
branch_ info - Get git branch info for a directory.
- get_
current_ branch - Get the current git branch for a directory.
- is_
branch_ changing_ command - Check if a shell command might change the git branch.
- parse_
branch_ info - Parse a branch name to extract PR and issue numbers.