Skip to main content

Module git

Module git 

Source

Structs§

Worktree
A git worktree created for an issue pipeline.
WorktreeInfo
Info about an existing worktree from git worktree list.

Enums§

RebaseOutcome
Outcome of a rebase attempt with fallbacks.

Functions§

abort_merge
Abort an in-progress merge.
clean_worktrees
Prune stale worktrees and return the count pruned.
commit_merge
Stage resolved conflict files and commit (used after agent conflict resolution).
conflicting_files
List files with unresolved merge conflicts.
create_worktree
Create a worktree for the given issue, branching from base_branch.
default_branch
Get the default branch name (main or master).
delete_branch
Delete a local branch.
empty_commit
Create an empty commit (used to seed a branch before PR creation).
force_push_branch
Force-push a branch to origin using --force-with-lease for safety.
list_merged_branches
List merged branches matching oven/*.
list_worktrees
List all worktrees in the repository.
push_branch
Push a branch to origin.
rebase_on_base
Rebase the current branch onto the latest origin/<base_branch>.
rebase_with_fallbacks
Rebase the current branch onto the latest origin/<base_branch> with fallbacks.
remove_worktree
Remove a worktree by path.