worktree-workflow

Create, list, navigate, and remove git worktrees with fzf-assisted selection.

48|2|Updated Dec 23, 2017
One-click install
npx skills add https://github.com/g4rcez/dotfiles --skill worktree-workflow-g4rcez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-workflow
Source: https://github.com/g4rcez/dotfiles/tree/main/.ai/skills/worktree-workflow
Command: npx skills add https://github.com/g4rcez/dotfiles --skill worktree-workflow-g4rcez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables isolating feature development by using git worktrees, with each worktree accompanied by its own tmux session.

Core Features & Use Cases

  • Isolated feature development using git worktrees per task
  • Dedicated tmux session per worktree for seamless context switching
  • Efficient cleanup and navigation between worktrees

Quick Start

Open a new feature worktree and attach to its dedicated tmux session to begin isolated development.

Frequently Asked Questions about worktree-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate feature development with git worktrees and tmux sessions?

You can isolate feature development by creating a git worktree for each task, accompanied by a dedicated tmux session for seamless context switching between branches. This workflow keeps each feature's code and terminal environment fully separated.

What is the best way to manage parallel git branches without context switching overhead?

Using git worktrees with dedicated tmux sessions allows you to manage parallel feature work efficiently. Each worktree gets its own tmux session, enabling instant navigation between isolated development environments without stashing or switching branches.

How do I list and navigate between multiple git worktrees quickly?

You can list, navigate, and attach to git worktrees from a unified workflow using fzf-assisted selection. This provides a fast, interactive interface to switch between worktrees and their corresponding tmux sessions.

Can I create and remove git worktrees from a single workflow interface?

Yes, you can create, attach, list, navigate, and remove git worktrees from a unified workflow. This consolidated interface handles the full lifecycle of isolated worktrees and their associated tmux sessions for efficient cleanup.

Do I need tmux to use git worktrees for isolated feature development?

Tmux is used to provide each git worktree with a dedicated terminal session, enabling seamless context switching. While git worktrees function independently, the tmux integration is what provides the isolated terminal environment for each feature branch.