Files
Advanced-Git/contents/check-existing-worktrees.md
2025-07-26 07:49:48 +00:00

731 B

⬅️ Back to How to Use git worktree Safely

Check Existing Worktrees

Category: Worktree

Command

git worktree list

Examples

  • List all active worktrees.
git worktree list 
  • List worktrees in a machine-readable format.
git worktree list --porcelain 

Steps

  1. List all active worktrees.

➡️ See the Next Step: Create a New Worktree


Author: mike-rambil • Updated: 2024-06-10 • Tags: worktree, list