Skip to main content

Generate .gitignore templates from the command line

Project description

gig

PyPI Latest Version Build Status

A CLI to create .gitignore files, to keep your source control so fresh and clean.

Andre

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

gig-1.2.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

gig-1.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for gig-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6397094d192c3800de34e4bf069292cf60e49c433c37b30954a637efeb3a2270
MD5 1a279bc86ecbc6211fadd109f5e39d59
BLAKE2b-256 602eb007876c70219fab02ed8fbd4c1679213a2b32a1b2f64f4d715a6ace5e4f

See more details on using hashes here.

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

Hashes for gig-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9eab7340bd6f2d3b28ca6978c1b6e05e22e887ab3fa1a94e2d2a09d8801d23e6
MD5 5d09af8460040261871a9990e28b803d
BLAKE2b-256 07566d2b1b31ed903b9da03c52f3aa66e8f08f5bc57baec3d1368c3d60d4fc49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page