tg auth git-credential
Authenticate HTTPS pushes from Git
Synopsis
Section titled “Synopsis”Use tg as a Git credential helper for HTTPS pushes.
Configure Git to call tg for tangled.org:
git config --global credential."https://tangled.org".helper "!tg auth git-credential"Then use an HTTPS remote:
git remote set-url origin https://tangled.org/<repo-did>tg returns a short-lived token for the repository’s Knot. It does not store the token.
tg auth git-credential <operation> [flags]Options
Section titled “Options” -h, --help help for git-credentialOptions inherited from parent commands
Section titled “Options inherited from parent commands” --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 outputSEE ALSO
Section titled “SEE ALSO”- tg auth - Log in and manage accounts