A CLI to create .gitignore files, to keep your source control so fresh and clean.
$ pip install -U gig
Or, run it with pipx:
$ pipx run gig --help
In the shell. . .
$ gig Python Ruby > .gitignore
Or, programmatically, in Python. . .
>>> import gig
>>> gig.generate_gitignore(["Clojure"])
u'\n### Clojure ###\nLeiningen.gitignore'
You can also generate global .gitignore_global
files. For more info, see here.
$ gig macOS VisualStudioCode --global > ~/.gitignore_global
To get a list of available templates. . .
$ gig list
$ gig list --global
For more help, run gig --help
.
- Python >= 3.8
- Internet connection
MIT Licensed.
- Support Python 3.8-Python 3.12. Older versions no longer supported.
- Add
--no-header
.
- Write to
stdout
. - Only Python>=3.6 is supported.
- Add support for global gitignore files.
- First release.