It seems that something has happened to the toptal/gitignore repo, based on toptal/gitignore.io#669.
As a result, any attempt to use gig on a fresh install fails with Error: repo: failed to clone: authentication required (likely due to the repo being private).
$ gig gen node windows macos linux
Error: repo: failed to clone: authentication required
Usage:
gig gen [template name] [flags]
Flags:
-f, --file if specified will create .gitignore file in the current working directory
-h, --help help for gen
Global Flags:
--cache-path string location where the content of github.com/toptal/gitignore
will be cached in (default "C:\\Users\\matracey\\AppData\\Local\\gig")
-c, --commit-hash string use templates from a specific commit hash of
github.com/toptal/gitignore
It seems like the suggested alternative is the github/gitignore project, which appears to be well maintained.
Might be worth exploring updating repo.go:11 to allow the source repo to be overridden as a global arg (maybe adding an init command to handle initialization / re-initialization of the local repo copy).
I will try to take this up and raise a PR.
It seems that something has happened to the toptal/gitignore repo, based on toptal/gitignore.io#669.
As a result, any attempt to use
gigon a fresh install fails withError: repo: failed to clone: authentication required(likely due to the repo being private).It seems like the suggested alternative is the github/gitignore project, which appears to be well maintained.
Might be worth exploring updating repo.go:11 to allow the source repo to be overridden as a global arg (maybe adding an init command to handle initialization / re-initialization of the local repo copy).
I will try to take this up and raise a PR.