new-project.md

 1# Creating New Projects
 2
 3```bash
 4wt n <project-name> [--remote name]...
 5```
 6
 7Creates a fresh project with bare worktree structure:
 8
 9```
10my-project/
11├── .bare/          # git repository
12├── .git            # file pointing to .bare/
13└── main/           # default worktree
14```
15
16## With Remotes
17
18Add configured remotes from `~/.config/wt/config.lua`:
19
20```bash
21wt n my-project --remote github --remote gitlab
22```
23
24Remotes use URL templates with `${project}` substituted:
25
26```lua
27remotes = {
28    github = "git@github.com:myuser/${project}.git"
29}
30```
31
32Results in remote URL `git@github.com:myuser/my-project.git`.