Your first machine
Three commands, and the first one is the check you just ran.
talea doctor # git, SSH and GitHub auth all reachable?talea init ~/Workspace # discover, ask what to keep, fill the treetalea manifest push # publish the catalogue for the next machineWhat init actually does
-
Creates the workspace
~/Workspaceby default, or whatever directory you name. It records this machine’s preferences — the root, the protocol — in<workspace>/.talea.json. -
Builds the catalogue, if there isn’t one
The packaged catalogue ships empty, on purpose: talea is the machinery, not a list of anybody’s repositories. So on a first machine
initrunstalea discoverfor you.Discovery reads your own repos, every organisation you belong to, and anything shared with you directly —
affiliation=owner,organization_member,collaborator, which reaches further thangh repo listdoes. For each repo it records the owner, the default branch, whether it is a fork and when it was last pushed to.It lands in
~/.talea/talea.repos.json. That file is yours and it travels. -
Asks what this machine should keep
Your default set, or a checklist of everything in the catalogue with those defaults already ticked. Space toggles, Enter saves, Esc cancels and changes nothing.
The answer goes in
<workspace>/.talea.jsonand never leaves this machine. -
Fills the tree
Existing checkouts are found and moved into place first; only what is genuinely missing is cloned. Adopting what you have is that half in full.
Publishing the catalogue
talea manifest pushThat writes the catalogue to a private gist and prints its id. Every later push and pull from this machine needs no argument — the id is remembered in ~/.talea/state.json.
Useful flags on init
| Flag | For |
|---|---|
--no-clone | Write the config now, fill the tree later |
--pick | Go straight to the checklist, skipping the defaults offer |
--protocol https | Clone over HTTPS instead of SSH |
-g <group> | Restrict the whole run to one group |
-j <n> | How many git operations run at once (default: one per core, clamped to 6–12) |
Next: Every machine after that.