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

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gig-0.2.1.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Sep 26, 2013

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting