windows-worktree-repo-operations
Installation
SKILL.md
Windows Worktree Bare Repo Operations
Note: The
AGENTS.mdfile at the repository root describes the overall repo structure and purpose. This skill provides the detailed worktree branch operations guide thatAGENTS.mdreferences.
Prerequisites — Confirm You Are in a Bare Repo
This skill only applies to bare Git repositories using worktrees. Not everyone on the team uses this workflow. Before following any instructions in this skill, verify you are in a bare repo:
git config --get core.bare
- If the output is
true→ you are in a bare repo. This skill applies — continue reading. - If the output is
false(or the command runs from a normal clone) → you are in a standard clone. Use normal git commands (git checkout,git switch, etc.) as usual. Do not use this skill.