Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
genignore-0.5.4.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page