github / github/app

Configure path for worktrees, independent of repo location

Open
#1,770 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

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 |

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
desktop, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.