{"version":"2.1.333","anchor":"git-remote-failure-message-for-pr-lookup-now-says-when-check","canonical_anchor":"git-remote-failure-message-for-pr-lookup-now-says-when-check","heading":"Pull request lookup now says plainly when your checkout has no git remote","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/git-remote-failure-message-for-pr-lookup-now-says-when-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Pull request lookup now says plainly when your checkout has no git remote\n\nIf a pull request lookup fails because the checkout has no git remote, Claude Code now says so and tells you the command to add one\n\n**What**\n\nWhen Claude Code looks up a pull request and the lookup fails because the repository has no remote (the address of the server copy, such as GitHub), the error now reads: \"this checkout has no git remote: run git remote add origin URL\". Before, it showed git's raw error output.\n\nClaude Code also now records which step failed: viewing the pull request, listing remotes, or reading the branch.\n\n**Why**\n\nGit's raw error output does not always make the cause obvious. The new message names the problem and gives the fix: run `git remote add origin URL` with your repository's address.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}