Skip to main content

Generate .gitignore templates from the command line

Project description

gig

PyPI Latest Version Travis CI 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.6
  • Internet connection

License

MIT Licensed.

Changelog

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.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

gig-1.0.0-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gig-1.0.0.tar.gz.

File metadata

  • Download URL: gig-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for gig-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c1220260c35099b96f273ee40e5616cd7b776b02934efae65819a6705086452a
MD5 22191d15a4ad342f362a9893547b983e
BLAKE2b-256 a54b6e87e6e04537e6320da83701545f2873d6f4ff8b6bacdcc1f81f80709d4e

See more details on using hashes here.

Provenance

File details

Details for the file gig-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gig-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for gig-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a2b3639a71a517c3c79ec87a45fc18bba45c21ae3b7fb626816531ebc1adad50
MD5 06700987d5165ca0a23b06134289a634
BLAKE2b-256 0278b6e70c794660e9aff5b41ff91477c07f6976dbb4a71b6f2c6bcb0425c34b

See more details on using hashes here.

Provenance

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