Skip to content

Configure worktree paths #22308

Open
Open

Description

@sandstrom

The feature request

Worktrunk is a popular CLI tool for working with git worktrees. It has good support for configuring the paths.

Would be good if Github Desktop supported this too.

Benefits

  • Configure OS search indexing to ignore worktrees (common cause of slowness on macOS).
  • Auto-approve all worktrees for direnv, mise, etc.
  • Exclude worktrees from backups, only backup 'real' repos.
  • Other tooling and configuration needs.

Examples

These are worktrunk syntax, but as long as it's possible to configure the same thing it's fine.

Centralized worktree directory (~/code/worktrees/myproject/feature-auth):

worktree-path = "~/code/worktrees/{{ repo }}/{{ branch | sanitize }}"

Friendly name (~/code/worktrees/myproject/malleable-opah):):

worktree-path = "~/code/worktrees/{{ repo }}/{{ branch | codename(2) }}"

https://worktrunk.dev/config/#worktree-path-template

Additional context

No response

Activity

  1. github-actions commented on Jun 15, 2026

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Issues marked as ideal for external contributors label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

  2. babakks commented on Jun 15, 2026

    @babakks
    Member

    cc @niik, as you were engaged with the discussion in #907

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions