Generate .gitignore templates from the command line
Project description
gig
A CLI to create .gitignore files, to keep your source control so fresh and clean.
Install/Upgrade
$ pip install -U gig
Or, run it with pipx:
$ pipx run gig --help
Usage
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.
Requirements
- Python >= 3.8
- Internet connection
License
MIT Licensed.
Changelog
1.2.0 (2024-01-10)
- Support Python 3.8-Python 3.12. Older versions no longer supported.
1.1.0 (2019-06-30)
- Add
--no-header.
1.0.0 (2019-06-27)
- Write to
stdout. - Only Python>=3.6 is supported.
0.2.0 (2013-09-09)
- Add support for global gitignore files.
0.1.0 (2013-09-07)
- First release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gig-1.2.0.tar.gz.
File metadata
- Download URL: gig-1.2.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6397094d192c3800de34e4bf069292cf60e49c433c37b30954a637efeb3a2270
|
|
| MD5 |
1a279bc86ecbc6211fadd109f5e39d59
|
|
| BLAKE2b-256 |
602eb007876c70219fab02ed8fbd4c1679213a2b32a1b2f64f4d715a6ace5e4f
|
File details
Details for the file gig-1.2.0-py3-none-any.whl.
File metadata
- Download URL: gig-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eab7340bd6f2d3b28ca6978c1b6e05e22e887ab3fa1a94e2d2a09d8801d23e6
|
|
| MD5 |
5d09af8460040261871a9990e28b803d
|
|
| BLAKE2b-256 |
07566d2b1b31ed903b9da03c52f3aa66e8f08f5bc57baec3d1368c3d60d4fc49
|