# Creating New Projects

```bash
wt n <project-name> [--remote name]...
```

Creates a fresh project with bare worktree structure:

```
my-project/
├── .bare/          # git repository
├── .git            # file pointing to .bare/
└── main/           # default worktree
```

## With Remotes

Add configured remotes from `~/.config/wt/config.lua`:

```bash
wt n my-project --remote github --remote gitlab
```

Remotes use URL templates with `${project}` substituted:

```lua
remotes = {
    github = "git@github.com:myuser/${project}.git"
}
```

Results in remote URL `git@github.com:myuser/my-project.git`.
