stephencelis / ghi

GitHub Issues on the command line. Use your $EDITOR, not your browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When not in git directory: "fatal: --local can only be used inside a git repository"

weiweiwei33 opened this issue · comments

Hello, when I use ghi not in a git directory, I get this error.
My teammates are also encountering the same issue.

The reason why I use ghi not in a git directory is because I want to list all issues that are opened in all my repositories.

ghi list --global will give you that without the error. Try git help list to see all the options for filtering, etc. See the wiki for more FAQs.