Skip to content

Version

Print the version of the installed binary.

The version is stamped into the binary at link time. A build that was never stamped reports Go’s module version instead, such as a pseudo-version or (devel), which means the binary came from go install or a local build rather than a release.

Usage

git-credential-oauth version

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