René's URL Explorer Experiment


Title: Fix auto-forking scenario in `pr create` by mislav · Pull Request #726 · cli/cli · GitHub

Open Graph Title: Fix auto-forking scenario in `pr create` by mislav · Pull Request #726 · cli/cli

X Title: Fix auto-forking scenario in `pr create` by mislav · Pull Request #726 · cli/cli

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

Open Graph Description: When an existing headRepo couldn't be detected, it's time to auto-fork one. Unfortunately, an obscure Go behavior made it seem like headRepo was a non-nil value, where in fact it did contai...

X Description: When an existing headRepo couldn't be detected, it's time to auto-fork one. Unfortunately, an obscure Go behavior made it seem like headRepo was a non-nil value, where in fact it di...

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

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:c01fd823-76ec-8620-fd4f-650d0592f670
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD8C2:2A736A:2CBD4E1:3BFA52A:6A53B442
html-safe-noncef4cc3c26c89e6d570fd10e1e3494e59bc7655bc734217f0c0f42d0ede316abe7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEMyOjJBNzM2QToyQ0JENEUxOjNCRkE1MkE6NkE1M0I0NDIiLCJ2aXNpdG9yX2lkIjoiMTEwNTc0MzgyMDM3OTg5NDg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac503742874a4df016aa81841e289f4234f83b16acda7dd62ea423d5948220c406
hovercard-subject-tagpull_request:397138348
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/726/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7555886a281a740b79ead1fbc23d4728ce613aa5d62e9758ce352710180a847d/cli/cli/pull/726
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7555886a281a740b79ead1fbc23d4728ce613aa5d62e9758ce352710180a847d/cli/cli/pull/726
og:image:altWhen an existing headRepo couldn't be detected, it's time to auto-fork one. Unfortunately, an obscure Go behavior made it seem like headRepo was a non-nil value, where in fact it did contai...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemislav
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cli/cli/pull/726#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F726
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%2F726
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/726
Reloadhttps://github.com/cli/cli/pull/726
Reloadhttps://github.com/cli/cli/pull/726
Please reload this pagehttps://github.com/cli/cli/pull/726
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.3k https://github.com/login?return_to=%2Fcli%2Fcli
Code https://github.com/cli/cli
Issues 966 https://github.com/cli/cli/issues
Pull requests 57 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
masterhttps://github.com/cli/cli/tree/master
pr-create-crashhttps://github.com/cli/cli/tree/pr-create-crash
Conversationhttps://github.com/cli/cli/pull/726
Commits1 (1)https://github.com/cli/cli/pull/726/commits
Checkshttps://github.com/cli/cli/pull/726/checks
Files changedhttps://github.com/cli/cli/pull/726/files
Fix auto-forking scenario in pr createhttps://github.com/cli/cli/pull/726#top
mislavhttps://github.com/mislav
masterhttps://github.com/cli/cli/tree/master
pr-create-crashhttps://github.com/cli/cli/tree/pr-create-crash
https://github.com/mislav
mislavhttps://github.com/mislav
Apr 1, 2020https://github.com/cli/cli/pull/726#issue-592090326
https://golang.org/doc/faq#nil_errorhttps://golang.org/doc/faq#nil_error
#722https://github.com/cli/cli/issues/722
Please reload this pagehttps://github.com/cli/cli/pull/726
https://github.com/mislav
Fix auto-forking scenario in pr createhttps://github.com/cli/cli/pull/726/commits/f0e6c98bf058a17d23a177c05c1d62c317683158
f0e6c98https://github.com/cli/cli/pull/726/commits/f0e6c98bf058a17d23a177c05c1d62c317683158
https://github.com/vilmibm
vilmibmhttps://github.com/vilmibm
Apr 1, 2020 https://github.com/cli/cli/pull/726#pullrequestreview-385811280
View reviewed changes https://github.com/cli/cli/pull/726/files/f0e6c98bf058a17d23a177c05c1d62c317683158
vilmibmhttps://github.com/vilmibm
https://github.com/cli/cli/pull/726#pullrequestreview-385811280
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/726
https://github.com/mislav
mislavhttps://github.com/mislav
Apr 1, 2020 https://github.com/cli/cli/pull/726#pullrequestreview-385811378
View reviewed changes https://github.com/cli/cli/pull/726/files/f0e6c98bf058a17d23a177c05c1d62c317683158
command/pr_create.gohttps://github.com/cli/cli/pull/726/files/f0e6c98bf058a17d23a177c05c1d62c317683158#diff-540d6faebc4c760742a22b6df70da8a6bbfbb4850fe9b2ca7b214f2a901fc3b9
mislavhttps://github.com/mislav
Apr 1, 2020https://github.com/cli/cli/pull/726#discussion_r401796639
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/726
https://github.com/mislav
mislavhttps://github.com/mislav
e066e98https://github.com/cli/cli/commit/e066e98a9af5345cd3a88507bae55a7eb00d1259
Apr 1, 2020https://github.com/cli/cli/pull/726#event-3189010634
https://github.com/mislav
mislavhttps://github.com/mislav
April 1, 2020 17:47https://github.com/cli/cli/pull/726#event-3189013674
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%2F726
https://github.com/vilmibm
vilmibm https://github.com/vilmibm
https://github.com/cli/cli/pull/726/files/f0e6c98bf058a17d23a177c05c1d62c317683158
Panic when trying to create a PR to a repo without write access https://github.com/cli/cli/issues/722
Please reload this pagehttps://github.com/cli/cli/pull/726
https://github.com/mislav
https://github.com/vilmibm
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.