`ignore` allows you to quickly add common sets of file types to your `.gitignore` file. It pulls from `https://github.com/github/gitignore`.
$ ignore python
$ cat .gitignore
# Byte-compiled / optimized / DLL files
# C extensions
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.