Zed/git-clone
Clone a repository
Opens Zed's clone flow, pre-filled with a repository URL.
Format
zed://git/clone?repo={repoUrl}Try it
zed://git/clone?repo=https%3A%2F%2Fgithub.com%2Fzed-industries%2Fzed.gitOpenWhat you supply
{repoUrl}The repository to clone.
Encoding it is safer, but Zed also accepts the raw URL —
?repo=https://github.com/owner/name.gitparses correctly.
zed://git/clone/?repo=… with a trailing slash works too.
Unlike most of the scheme, this one is strict: a missing or empty repo parameter is an error
rather than a silent fallback. That is a small mercy — you find out the link is broken instead
of watching it open the wrong thing.
The obvious use is a README button that puts a project on someone's machine in one click.