Module git

Module git 

Source

Re-exports§

pub use self::git_push as push;

Structs§

StylePatterns
Quantified style patterns extracted from commit history

Functions§

check_working_tree_clean
Check if working directory is clean
create_backup_branch
Create timestamped backup branch
extract_style_patterns
Extract style patterns from commit history
get_commit_list
Get list of commit hashes to rewrite (in chronological order)
get_commit_metadata
Extract complete metadata for a commit (for rewriting)
get_common_scopes
Extract common scopes from git history by parsing commit messages
get_git_diff
Get git diff based on the specified mode
get_git_stat
Get git diff –stat to show file-level changes summary
get_head_hash
Get the current HEAD commit hash
get_recent_commits
Get recent commit messages for style consistency (last N commits)
git_commit
Execute git commit with the given message
git_push
Execute git push
rewrite_history
Rewrite git history with new commit messages