-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome
Description
Describe the feature or problem you’d like to solve
Right now, I have to google and trial and error to get the gh cli wired up as a git credential helper.
This command works:
git config --global 'credential.https://github.com.helper' ''
git config --global --add 'credential.https://github.com.helper' '!gh auth git-credential'
But I would prefer this be baked into the cli.
Proposed solution
Something like:
gh auth setup-git-credential-helper
Which would execute the commands above or the appropriate commands for a given os/arch combination.
Additional context
Add any other context like screenshots or mockups are helpful, if applicable.
azsdke2e
azsdke2e2
mikeboiko, KNuggies, elyobo, lmcanavals, phd and 1 more
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome