gh auth setup-git

Category: GitHub CLI

gh auth setup-git

Configure git to use gh as the credential helper

Configures git to use gh as a credential helper so git push/pull work without separate auth.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.