Skip to content
Generate .gitignore files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
genignore
.gitignore
CHANGES.txt
LICENSE.txt
Makefile
README.rst
setup.py

README.rst

genignore

Command line tool that generates .gitignore files using github's collection of gitignore templates.

Features

Install

pip install --upgrade genignore

Usage

  • Get help: genignore --help
  • Grab the latest https://github.com/github/gitignore master: genignore sync
  • List available templates: genignore list
  • Generate .gitignore for python, osx and linux: genignore gen python osx linux
  • Generate .gitignore for python, osx and linux, save it as .foo: genignore gen python osx linux --out=.foo
  • To add into an existing .gitignore, use genignore gen --add jetbrains
  • You can also redirect stdout genignore gen python osx linux > .foo

Bugs/Features

Open a github issue here.

Contributors

You can’t perform that action at this time.