worktree_setup_git 0.1.0

Git operations for worktree-setup
Documentation

Git operations for worktree-setup.

This crate provides git operations using the git2 library, including:

  • Repository discovery and information
  • Worktree listing, creation, and management
  • File status detection (unstaged, untracked)

Example

use worktree_setup_git::{open_repo, get_worktrees, create_worktree};

let repo = open_repo(".")?;
let worktrees = get_worktrees(&repo)?;
println!("Found {} worktrees", worktrees.len());