tg auth git-credential
Git credential helper for HTTPS push to Tangled knots
Synopsis
Section titled “Synopsis”Provide HTTPS credentials for Git pushes to a Tangled knot.
Configure the helper for a knot:
git config --global credential."https://<knot>".helper "!tg auth git-credential"Point the remote at that knot:
git remote set-url origin https://<knot>/<handle>/<repo>.gitThe helper mints a short-lived token only for the current repository’s recorded knot. It does not store credentials.
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 to use (overrides the active account and TG_ACCOUNT) --appview string Appview host URL (overrides config file and TG_APPVIEW) (default "https://bobbin.klbr.net") --config string Path to config file (default: $XDG_CONFIG_HOME/tg/config.toml) --json Output in JSON formatSEE ALSO
Section titled “SEE ALSO”- tg auth - Manage authentication