Global gitignore types not available
https://github.com/github/gitignore/tree/master/Global
Handy utility. Would be great to have access to subdirectories too such as Global.
just found this project and faced the same issue.
it can actually handle global gitignores, but it does not list them with the -types flag, unfortunately.
just found this project and faced the same issue.
it can actually handle global gitignores, but it does not list them with the
-typesflag, unfortunately.
@Semmu How?
I tried with the regular URI and with the Raw URI but couldn't get it to work.
@spacecat just prepend Global/ or others
e.g. instead of:
$ npx gitignore macOS
There is no gitignore for MacOS
Available project types can be found by running `gitignore -types` or at https://github.com/github/gitignore
Recieved status code 404
type:
$ npx gitignore Global/macOS
Created .gitignore file for type Global/macOS :)
Cool @Semmu will try it next time :)
Edit: Tried it and it works beautifully! :)