worktree

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package worktree implements the `da worktree` command tree: first-class create / merge-back of managed sub-branch worktrees.

Base resolution reads the recorded base ref (via the gitwt Coordinator) and never re-derives a fork point with git merge-base, so a parent branch that advanced or was force-pushed is caught loudly (ErrStaleBase) instead of silently rebasing the sub-branch onto the wrong commit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd builds the `da worktree` command tree.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL