ghi icon indicating copy to clipboard operation
ghi copied to clipboard

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

Open weiweiwei33 opened this issue 4 years ago • 1 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.

weiweiwei33 avatar Apr 11 '20 14:04 weiweiwei33

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.

arkadianriver avatar Apr 25 '20 16:04 arkadianriver