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.

Files for genignore, version 0.5.4
Filename, size File type Python version Upload date Hashes
Filename, size genignore-0.5.4.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page