Expand description
Git hosts (GitHub, GitHub Enterprise, GitLab, Bitbucket, any https git
host): where a repository’s archive lives, and the credential for exactly
that host: a token variable, else what git credential fill returns.
Structs§
Enums§
Functions§
- credential_
fill git credential fillfor one origin: what the user’s credential helpers hold for that host. Never prompts; gives up after 15 seconds.- credentials
- The credential for
host, bound to its origin(s): a token variable, then (whenfill) the user’s git credential helpers. - git_
header - The value of the
Authorizationheader for the smart-HTTP endpoint: a bare token becomes Basic with the host’s conventional user name. - kind_of
- parse_
repo_ url - A repository URL (
git+https://h/o/r.git,https://h/o/r,git@h:o/r.git,ssh://git@h/o/r) as its https origin andowner/namepath. Only URLs that look like git repositories on a host other than github.com qualify.