Skip to content
Capability

Capability

Write the git credential capabilities this helper supports.

The output follows the format of git credential capability, listing version 0 and the authtype capability. With authtype, and –bearer, the helper can return a Bearer credential instead of a username and password on hosts that accept one.

Usage

git-credential-oauth capability

Global Options

FlagShortDefaultTypeDescription
--bearerfalseboolreturn a Bearer credential on hosts that accept one (Git 2.46 or later)
--devicefalsebooluse the device authorization grant instead of a browser
--verbose-vfalseboollog debug information to stderr