Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generate .gitignore templates from the command line

Project Description

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


$ pip install -U gig


In the shell…

$ gig Python Ruby

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 OSX SublimeText Linux --global

To get a list of available templates…

$ gig list
$ gig list --global

For more help, run gig --help.


  • Python >= 2.7 or >= 3.3
  • Internet connection


MIT Licensed.


0.2.1 (09/26/2013)

  • Remove gig version number from headers.

0.2.0 (09/09/2013)

  • Add support for global gitignore files.

0.1.0 (09/07/2013)

  • First release

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(10.2 kB) Copy SHA256 Hash SHA256
Source None Sep 26, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers