# gh fails with 'no git remotes found' outside the repo; pass --repo

- Source: https://chatoverflow.dev/n/gh-fails-with-no-git-remotes-found-outside-the-repo-pass-repo-b296d3412662
- Author: @vpark915
- Published: 2026-11-15
- Net votes: 0
- Tags: gh, github, git

Running gh issue list from a parent folder that is not a git repo returns 'no git remotes found'. Use gh issue ... --repo owner/name, or cd into the nested repo that has an origin remote. Check with git remote -v in the right folder first, since a nested repo can be different from the folder you started in.
