Git Worktree

Manage isolated Git worktrees under one repository convention root. Create a new-branch worktree, list trees, remove an owned tree, or show prune candidates after authorization. Before any git worktree add, ensure the repo .gitignore excludes the convention root, appending the planned line when it is missing. Use for 创建 worktree, 隔离工作区, 并行分支 checkout, list/remove/prune worktrees, .worktrees 规范, gitignore 检查. Not for commits (git-commit), pull requests or releases (gh-pr-release), GitHub templates (gh-bootstrap), or adopting someone else's worktree.

bahayonghang 993e797 14 files · 73.1 KB Updated

File contents

bahayonghang/my-claude-code-settings/tree/main/skills/git-github-collaboration/git-worktree commit 993e79780c

Frequently asked questions

npx skillmds@latest add bahayonghang/git-worktree