DOKK / manpages / debian 12 / git-credential-oauth / git-credential-oauth.1.en
GIT-CREDENTIAL-OAUTH(1) GIT-CREDENTIAL-OAUTH(1)

git-credential-oauth - Git credential helper that authenticates to GitHub and other forges using OAuth

git-credential-oauth [<options>] <action>

A read-only Git credential helper that authenticates to GitHub and other forges using OAuth.

Example configuration for Git:

git config --global --unset-all credential.helper
git config --global --add credential.helper "cache --timeout 7200" # two hours
git config --global --add credential.helper oauth
    

To unconfigure:

git config --global --unset-all credential.helper oauth
    

Run git-credential-oauth -help for more details.

2022-12-13