Skip to main content

execute

Function execute 

Source
pub fn execute(plan: Plan, opts: &PushOptions) -> Vec<WorktreeOutcome>
Expand description

Executes a Plan, publishing every worktree that still has something to push.

The rest pass through unchanged. Pushes run sequentially: linked worktrees share one object database and ref store, and a successful push writes refs/remotes/<remote>/<branch> into it. A refused push is reported and the batch continues with the remaining worktrees.