gh auth setup-git

Configure git to use GitHub CLI as a credential helper

gh auth setup-git [flags]

Options

-h, --hostname <string>
The hostname to configure git for

See also