Generate .gitignore files from the command line or programmatically, in Python
Python
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
NOTICE
README.rst
docopt.py
gig.py
setup.py
tox.ini

README.rst

gig

https://badge.fury.io/py/gig.png https://travis-ci.org/sloria/gig.png?branch=master

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

Andre

Install/Upgrade

$ pip install -U gig

Usage

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.

Requirements

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

License

MIT Licensed.

Changelog

0.2.0 (09/09/2013)

  • Add support for global gitignore files.

0.1.0 (09/07/2013)

  • First release