abhinav / abhinav/git-spice

Worktree management commands and worktree-aware filtering

Offen
#1,247 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement proposal/pending
Vorherrschende Sprache
Go
Sterne
762
Forks
72
Ø Merge
18 Std. 24 Min.
Gemergte PRs (30 T.)
28

Beschreibung

## Problem

Working across multiple Git worktrees is awkward with git-spice.
Stack-wide operations act on all tracked branches regardless of which
worktree they belong to, so running a command in one worktree can churn
stacks that are checked out elsewhere. There are also no first-class
commands for creating or listing worktrees.

## Proposal

Add worktree management and worktree-aware filtering:

- `gs worktree create` and `gs worktree list` commands for managing Git
worktrees.
- A `-w/--worktree` flag on `log short` and `repo restack` that limits
the operation to branches belonging to stacks checked out in the
current worktree.

This lets a user keep multiple worktrees in play without operations in
one affecting unrelated stacks in another.

## Tracked by

- #1187 — worktree management commands and worktree-aware filtering

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.