Skip to main content

Generate gitignore files based on templates provided by github

Project description

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



pip install --upgrade genignore


  • Get help: genignore --help

  • Grab the latest 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

  • To add into an existing .gitignore, use genignore gen --add jetbrains

  • You can also redirect stdout genignore gen python osx linux > .foo


Open a github issue here.


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

genignore-0.5.7.tar.gz (8.1 kB view hashes)

Uploaded Source

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