Skip to content

tg repo create

Create a repository

Create a repository on Tangled.

By default, tg selects a Knot registered to your account. If your account has no Knot registrations, tg uses knot1.tangled.sh. Use –knot to choose a Knot.

Use –clone to clone the new repository. Use –push= to push an existing local repository and set its current branch as the default branch.

Run “tg auth login” first.

tg repo create <name> [flags]
--clone Clone the new repository
--description string Repository description
-h, --help help for create
--knot string Knot host
--push string Push the repository at this path, such as .
--remote string Remote name to use with --push (default "origin")
--ssh-port string SSH port for an explicitly selected Knot (default "22")
--account string Account handle or DID
--appview string Appview URL (default "https://bobbin.klbr.net")
--config string Config file (default: $XDG_CONFIG_HOME/tg/config.toml)
--json Print JSON output