Skip to content

[BUG] gtr cd Does not actually navigate to the worktree #181

Description

@claytonjroberts

Description

In the TUI (gtr cd), when trying to change my current directory to one of my worktrees, the TUI just exits with no error.

Steps to replicate:

  1. Repo directory structure should be:
    ~/some_folder/main_branch
    ~/some_folder/feature_branch
    
  2. Launch the TUI with gtr cd
  3. Use arrow keys to select the feature branch
  4. Press [enter]

System / Config

  • MacOS (M4), Tahoe 26.5
  • Fish Shell, version 4.7.1
  • git gtr version 2.7.3
  • gtr config:
    gtr.worktrees.dir                   = ~/some_folder/ [local]
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions