github / github/app

Configure path for worktrees, independent of repo location

Offen
#1,770 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I need to configure where worktrees and repos are located, independent of each other.

So my repos are under `~/code/org-name/repo-name`

and worktrees under `~/worktrees/org-name/repo-name/branch-name-derived-worktree-name`.

This is company policy, so hard to use without this.

Today I'm using Worktrunk (https://worktrunk.dev/config/#worktree-path-template) where this is configurable. Maybe you can just copy that structure/setup, with template variables for customization?

---
| Field | Value |
| --- | --- |
| App version | 1.0.17 |
| OS | macOS 15.6.0 |
| Theme | GitHub |
| Path | / |
| Tenure | Day 1 |

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No repository files, tests, or entry points are named. Start by locating the app's repository and worktree path configuration, then review how paths are currently derived. Done means users can independently configure repository and worktree locations with template variables matching the requested organization, repository, and branch-based structure.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git
Bereich
desktop, developer-experience
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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