Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.03 KB

File metadata and controls

50 lines (31 loc) · 1.03 KB

git-treefrog

CI

banner

Navigate your git worktrees with ease with this Rust tui.

Motivation

I want to use the Zed editor, but still have full control over my experience of switching and managing my git worktrees, so I created this tui and I can use it as a task and keymap in the Zed editor to hop between trees.

Roadmap

  • list and switch worktrees
  • create worktrees based on config
  • create worktrees based on target branch
  • create worktrees with custom name
  • sort worktrees by most recently used

Installation

git clone https://github.com/c0de-intention/git-treefrog.git
cd git-treefrog
cargo install --path .

Usage

git-treefrog

or

gt

Keymaps

Worktree selector

  • Up and Down or j and k arrows to select worktree in the repo.

  • Enter to open it in your favourite editor, it will respect $EDITOR.