Skip to content

garden clone

Clone a repository

Terminal window
garden clone <repo> [path]

Clone a repository and mount it as a virtual filesystem. Files materialize on access, so the clone is instant and independent of repo size.

The repo argument is the repository name. If –org is omitted, your personal workspace is used.

Garden does not add agent files to the checkout after mounting it. The version-matched agent guide is always available offline with ‘garden docs garden’.

Examples: garden clone myrepo garden clone myrepo ~/code/myrepo garden clone –org myorg myrepo

Flag Type Default Description
-o, --org string Organization slug (defaults to personal workspace)