Skip to main content

Generate gitignore files based on templates provided by github

Project description

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


  • sync with remote functionality

  • You can specify a custom output file other that .gitignore

  • Can keep and combine the contents of any existing .gitignore file


pip install --upgrade genignore


  • To sync the templates with github, use genignore sync

  • To generate a .gitignore for python, osx and linux, use genignore gen python osx linux

  • To generate a .gitignore for python, osx and linux and save it as .foo, use genignore gen python osx linux

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

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

  • To list available templates, run genignore list

  • Get help with genignore --help


Feel free to 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.4.tar.gz (6.5 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