{{define "title"}}register · {{.Site}}{{end}} {{define "width"}}bounded{{end}} {{define "content"}}

Create an account

{{if eq .Mode "invite"}}

This instance is invite-only. You need an invite code from an admin.

{{else}}

Open registration. Your account activates once you verify your email.

{{end}} {{if .Error}}{{end}}
{{if eq .Mode "invite"}}
{{else}}
{{end}}

Paste the contents of your public key file, usually ~/.ssh/id_ed25519.pub. It starts with ssh-ed25519 or ssh-rsa.

{{/* The help is a disclosure rather than a link out: a wiki page is on another origin, opens over the half-filled form, and has no way back to it. */}}
No key yet?

Run this, take the default path, and paste what the second line prints.

ssh-keygen -t ed25519
cat ~/.ssh/id_ed25519.pub

Prefer the terminal? ssh git@{{.Host}} register --username you {{if eq .Mode "invite"}}--invite <code>{{else}}--email you@example.org{{end}}

{{end}}