Skip to main content

Module git

Module git 

Source

Structs§

CommitInfo
Get recent commits on a specific branch (up to limit).

Functions§

branch_commits
create_and_checkout_branch
Create a new branch from HEAD and check it out.
current_branch
Get the current branch name (e.g., “main”, “shipd/3-fix-bug”).
open_repo
Open a git repository starting from path, searching upward.
slugify
Turn a task title into a slug for branch naming. “Fix login bug!” → “fix-login-bug”
task_branch_name
Build the branch name for a task: “shipd/-