Your first repository
Every repository lives on a knot, the server that stores its git data,
issues and pull requests. By default, Tangled hosts your repositories on
knot1.tangled.sh, so you don’t need to run anything. To keep them on a
server you control, see Self-hosting.
Add an SSH key
Section titled “Add an SSH key”Pushing needs a public SSH key in your account. Make one if you don’t have one:
ssh-keygen -t ed25519 -C "alice@example.com"cat ~/.ssh/id_ed25519.pubPaste the output into Settings → Keys → Add SSH key.
If your SSH agent holds many keys, pin the right one in
~/.ssh/config:
Host tangled.org User git IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly yesCreate a repository
Section titled “Create a repository”Open New Repository, give it a name, and keep Host with Tangled selected.
Push an existing project to it:
cd my-projectgit remote add origin git@tangled.org:alice.tngl.sh/my-projectgit push -u origin mainTo move a repository you already push elsewhere, change origin and
push every branch and tag:
git remote set-url origin git@tangled.org:alice.tngl.sh/my-projectgit push origin --allgit push origin --tagsRepositories covers cloning, forking and access.