Skip to content

Repository files navigation

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.

About

Navigate your git worktrees with ease with this tui built in Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages