setup-repo
Clone or explicitly migrate a repository into a bare Git container with .bare metadata, a default-branch checkout such as main, and task worktrees beside it inside the container. Use for "setup repo", "clone with worktrees", or "convert to bare worktree layout". Preserve refs, local work, remotes and configured source paths; never overwrite an existing checkout or delete repository roots.
Pinned to revision 86122acc0c02, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.