Generate .gitignore files from the command line or programmatically, in Python
MIT License
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
.
MIT Licensed.
--no-header
.stdout
.