Module git

Module git 

Source

Functions§

check_working_tree_clean
Check if working directory is clean
create_backup_branch
Create timestamped backup branch
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_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
git_commit
Execute git commit with the given message
rewrite_history
Rewrite git history with new commit messages