Skip to main content

Module git

Module git 

Source

Functionsยง

create_and_checkout_branch
Create and checkout a new branch.
get_branch_name
Get the current branch name.
get_changed_files
Get the list of changed file paths.
get_diff
Get the diff based on the configured source.
get_recent_branch_names
Get the N most recent branch names sorted by committer date.
get_recent_commits
Get the N most recent commit summaries (oneline format).
get_repo_root
Find the repository root from the current directory.
git_commit
Commit staged changes with the given message.
stage_all
Stage all changes.