René's URL Explorer Experiment


Title: feat(3796): add cmd for setting up gh-cli as git cred helper by despreston · Pull Request #4246 · cli/cli · GitHub

Open Graph Title: feat(3796): add cmd for setting up gh-cli as git cred helper by despreston · Pull Request #4246 · cli/cli

X Title: feat(3796): add cmd for setting up gh-cli as git cred helper by despreston · Pull Request #4246 · cli/cli

Description: GitHub’s official command line tool. Contribute to cli/cli development by creating an account on GitHub.

Open Graph Description: Adds a new command gh auth setup-git [<hostname>] that sets up git to use the GH CLI as a credential helper. The gist is that it runs these two git commands for each hostname the user is auth...

X Description: Adds a new command gh auth setup-git [&lt;hostname&gt;] that sets up git to use the GH CLI as a credential helper. The gist is that it runs these two git commands for each hostname the user...

Opengraph URL: https://github.com/cli/cli/pull/4246

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:09c39436-215e-3ce2-f6e0-6ee6d0e8802e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD72C:FCD5E:18A3857:205363B:6A51CD87
html-safe-nonce4f7cc3ddf31227729abd90982236e7de688a02aae4c6129f7ff964152fd1dac1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzJDOkZDRDVFOjE4QTM4NTc6MjA1MzYzQjo2QTUxQ0Q4NyIsInZpc2l0b3JfaWQiOiIzNzUwOTc0NzQ0NzY1MjY5ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf92da9eab587af7a59fc8de422421d992e64e39465a0f9be94ba62ddc08d7506
hovercard-subject-tagpull_request:723447659
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cli/cli/4246/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cec2fb701681a5e30301d3ffb18b0c449d3eb91e39bd649be1445539dd77daac/cli/cli/pull/4246
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cec2fb701681a5e30301d3ffb18b0c449d3eb91e39bd649be1445539dd77daac/cli/cli/pull/4246
og:image:altAdds a new command gh auth setup-git [<hostname>] that sets up git to use the GH CLI as a credential helper. The gist is that it runs these two git commands for each hostname the user is auth...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedespreston
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/cli/cli git https://github.com/cli/cli.git
octolytics-dimension-user_id59704711
octolytics-dimension-user_logincli
octolytics-dimension-repository_id212613049
octolytics-dimension-repository_nwocli/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id212613049
octolytics-dimension-repository_network_root_nwocli/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cli/cli/pull/4246#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F4246
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F4246
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cli%2Fcli
Reloadhttps://github.com/cli/cli/pull/4246
Reloadhttps://github.com/cli/cli/pull/4246
Reloadhttps://github.com/cli/cli/pull/4246
Please reload this pagehttps://github.com/cli/cli/pull/4246
cli https://github.com/cli
clihttps://github.com/cli/cli
Notifications https://github.com/login?return_to=%2Fcli%2Fcli
Fork 8.7k https://github.com/login?return_to=%2Fcli%2Fcli
Star 45.2k https://github.com/login?return_to=%2Fcli%2Fcli
Code https://github.com/cli/cli
Issues 964 https://github.com/cli/cli/issues
Pull requests 51 https://github.com/cli/cli/pulls
Discussions https://github.com/cli/cli/discussions
Actions https://github.com/cli/cli/actions
Projects https://github.com/cli/cli/projects
Models https://github.com/cli/cli/models
Security and quality 8 https://github.com/cli/cli/security
Insights https://github.com/cli/cli/pulse
Code https://github.com/cli/cli
Issues https://github.com/cli/cli/issues
Pull requests https://github.com/cli/cli/pulls
Discussions https://github.com/cli/cli/discussions
Actions https://github.com/cli/cli/actions
Projects https://github.com/cli/cli/projects
Models https://github.com/cli/cli/models
Security and quality https://github.com/cli/cli/security
Insights https://github.com/cli/cli/pulse
mislavhttps://github.com/mislav
cli:trunkhttps://github.com/cli/cli/tree/trunk
despreston:3796-git-cred-helperhttps://github.com/despreston/cli/tree/3796-git-cred-helper
Conversationhttps://github.com/cli/cli/pull/4246
Commits5 (5)https://github.com/cli/cli/pull/4246/commits
Checkshttps://github.com/cli/cli/pull/4246/checks
Files changedhttps://github.com/cli/cli/pull/4246/files
feat(3796): add cmd for setting up gh-cli as git cred helperhttps://github.com/cli/cli/pull/4246#top
mislavhttps://github.com/mislav
cli:trunkhttps://github.com/cli/cli/tree/trunk
despreston:3796-git-cred-helperhttps://github.com/despreston/cli/tree/3796-git-cred-helper
https://github.com/despreston
desprestonhttps://github.com/despreston
Aug 31, 2021https://github.com/cli/cli/pull/4246#issue-983948758
Please reload this pagehttps://github.com/cli/cli/pull/4246
#3796https://github.com/cli/cli/issues/3796
Please reload this pagehttps://github.com/cli/cli/pull/4246
https://github.com/cliAutomation
cliAutomationhttps://github.com/cliAutomation
Aug 31, 2021https://github.com/cli/cli/pull/4246#issuecomment-909306417
Please reload this pagehttps://github.com/cli/cli/pull/4246
https://github.com/despreston
desprestonhttps://github.com/despreston
force-pushedhttps://github.com/cli/cli/compare/ed3d19f40c1c7a3bc2f9c5ac3ca6aec42ac0a8da..d35b9430fa469dca93fb54d4a67baac56538b990
ed3d19fhttps://github.com/cli/cli/commit/ed3d19f40c1c7a3bc2f9c5ac3ca6aec42ac0a8da
d35b943https://github.com/cli/cli/commit/d35b9430fa469dca93fb54d4a67baac56538b990
Compare https://github.com/cli/cli/compare/ed3d19f40c1c7a3bc2f9c5ac3ca6aec42ac0a8da..d35b9430fa469dca93fb54d4a67baac56538b990
August 31, 2021 14:52https://github.com/cli/cli/pull/4246#event-5233157847
https://github.com/mislav
mislavhttps://github.com/mislav
September 1, 2021 16:09https://github.com/cli/cli/pull/4246#event-5240689915
https://github.com/mislav
mislavhttps://github.com/mislav
Sep 1, 2021https://github.com/cli/cli/pull/4246#event-5240690775
https://github.com/despreston
feat(3796): add cmd for setting up gh-cli as git cred helperhttps://github.com/cli/cli/pull/4246/commits/2c41882cb50c5663e6ed15f3b09b2115dc88e566
2c41882https://github.com/cli/cli/pull/4246/commits/2c41882cb50c5663e6ed15f3b09b2115dc88e566
https://github.com.helperhttps://github.com.helper
https://github.com.helperhttps://github.com.helper
cli#3796https://github.com/cli/cli/issues/3796
https://github.com/despreston
desprestonhttps://github.com/despreston
force-pushedhttps://github.com/cli/cli/compare/d35b9430fa469dca93fb54d4a67baac56538b990..2c41882cb50c5663e6ed15f3b09b2115dc88e566
d35b943https://github.com/cli/cli/commit/d35b9430fa469dca93fb54d4a67baac56538b990
2c41882https://github.com/cli/cli/commit/2c41882cb50c5663e6ed15f3b09b2115dc88e566
Compare https://github.com/cli/cli/compare/d35b9430fa469dca93fb54d4a67baac56538b990..2c41882cb50c5663e6ed15f3b09b2115dc88e566
September 3, 2021 15:18https://github.com/cli/cli/pull/4246#event-5254123600
https://github.com/despreston
Merge branch 'trunk' into 3796-git-cred-helperhttps://github.com/cli/cli/pull/4246/commits/c39eccbb1efb087a7afc498849c1ec6be640b16b
c39eccbhttps://github.com/cli/cli/pull/4246/commits/c39eccbb1efb087a7afc498849c1ec6be640b16b
https://github.com/mislav
mislavhttps://github.com/mislav
Oct 18, 2021 https://github.com/cli/cli/pull/4246#ref-issue-784610698
gh does not respect GITHUB_TOKEN? #2771 https://github.com/cli/cli/issues/2771
mislavhttps://github.com/mislav
December 2, 2021 16:59https://github.com/cli/cli/pull/4246#commits-pushed-2818f93
https://github.com/mislav
Merge remote-tracking branch 'origin' into 3796-git-cred-helperhttps://github.com/cli/cli/pull/4246/commits/2818f93eb0428bd35e466956832a1edcd7d42918
2818f93https://github.com/cli/cli/pull/4246/commits/2818f93eb0428bd35e466956832a1edcd7d42918
https://github.com/mislav
💅https://github.com/cli/cli/pull/4246/commits/f19791c39d96bb30e483b277af22e15f5008c0f6
f19791chttps://github.com/cli/cli/pull/4246/commits/f19791c39d96bb30e483b277af22e15f5008c0f6
https://github.com/despreston
desprestonhttps://github.com/despreston
code ownerhttps://github.com/cli/cli/blob/f13f0e7d8773219285f1071b5596bef2488c30bb/CODEOWNERS#L1
December 2, 2021 16:20https://github.com/cli/cli/pull/4246#event-5707002567
https://github.com/mislav
mislavhttps://github.com/mislav
Dec 2, 2021 https://github.com/cli/cli/pull/4246#pullrequestreview-821733826
View reviewed changes https://github.com/cli/cli/pull/4246/files/f19791c39d96bb30e483b277af22e15f5008c0f6
mislavhttps://github.com/mislav
https://github.com/cli/cli/pull/4246#pullrequestreview-821733826
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/4246
https://github.com/mislav
fixhttps://github.com/cli/cli/pull/4246/commits/aef1a572481b1ac26e52de43bd6ed80d6e1499c5
aef1a57https://github.com/cli/cli/pull/4246/commits/aef1a572481b1ac26e52de43bd6ed80d6e1499c5
https://github.com/mislav
mislavhttps://github.com/mislav
December 2, 2021 16:30https://github.com/cli/cli/pull/4246#event-5707064184
https://github.com/mislav
mislavhttps://github.com/mislav
94a640bhttps://github.com/cli/cli/commit/94a640bd2a0949d5aff3d55965fa31f641138399
Dec 2, 2021https://github.com/cli/cli/pull/4246#event-5707122262
https://github.com/despreston
desprestonhttps://github.com/despreston
December 2, 2021 16:41https://github.com/cli/cli/pull/4246#event-5707137432
https://github.com/VictorBatta
VictorBattahttps://github.com/VictorBatta
Dec 4, 2021 https://github.com/cli/cli/pull/4246#ref-issue-1071305104
GitHub CLI 2.3.0 #4855 https://github.com/cli/cli/issues/4855
https://github.com/jenkins-infra-bot
jenkins-infra-bothttps://github.com/jenkins-infra-bot
Dec 20, 2021 https://github.com/cli/cli/pull/4246#ref-pullrequest-1084642544
[updatecli] Bump ghcli version jenkins-infra/docker-builder#26 https://github.com/jenkins-infra/docker-builder/pull/26
https://github.com/mfaani
mfaanihttps://github.com/mfaani
Sep 21, 2022https://github.com/cli/cli/pull/4246#issuecomment-1254190492
Please reload this pagehttps://github.com/cli/cli/pull/4246
https://github.com/mislav
mislavhttps://github.com/mislav
Sep 28, 2022https://github.com/cli/cli/pull/4246#issuecomment-1261044172
Please reload this pagehttps://github.com/cli/cli/pull/4246
https://github.com/weikanglim
weikanglimhttps://github.com/weikanglim
Apr 18, 2023 https://github.com/cli/cli/pull/4246#ref-pullrequest-1672470447
Ignoring default auth in codespaces for ghcli and gitcli Azure/azure-dev#1970 https://github.com/Azure/azure-dev/pull/1970
https://github.com/eggplants
eggplantshttps://github.com/eggplants
Apr 19, 2025https://github.com/cli/cli/pull/4246#issuecomment-2816503375
gh auth setup-githttps://cli.github.com/manual/gh_auth_setup-git
microsoft/vscode-remote-release#9252https://github.com/microsoft/vscode-remote-release/issues/9252
Please reload this pagehttps://github.com/cli/cli/pull/4246
fix: grafana sa now requires expiry Altinn/altinn-studio#19398 https://github.com/Altinn/altinn-studio/pull/19398
feat(release-cycle)!: implement ADR 0041/0042 RC workflow in orb chiubaka/circleci-orb#108 https://github.com/chiubaka/circleci-orb/pull/108
https://github.co/hiddenchars
https://github.com/cli/cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F4246
https://github.com/mislav
mislav https://github.com/mislav
https://github.com/cli/cli/pull/4246/files/f19791c39d96bb30e483b277af22e15f5008c0f6
https://github.com/mislav
mislav https://github.com/mislav
Provide a convenient way to add gh cli as a git credential helper https://github.com/cli/cli/issues/3796
Please reload this pagehttps://github.com/cli/cli/pull/4246
https://github.com/despreston
https://github.com/cliAutomation
https://github.com/mfaani
https://github.com/mislav
https://github.com/eggplants
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.