Skip to content

Support git wt - to switch back to the previous worktree #155

Description

@ras0q

Hi @k1LoW , thank you for this great tool!

I would like to suggest adding support for git wt -, similar to cd - or git switch -.

  • git-wt stores the previous worktree path
  • Running git wt - switches back to that previous worktree.

This would be very helpful for toggling between two worktrees frequently.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions