Skip to content

Instantly share code, notes, and snippets.

@jeffskinnerbox
Last active July 6, 2021 20:13
Show Gist options
  • Save jeffskinnerbox/9612119 to your computer and use it in GitHub Desktop.
Save jeffskinnerbox/9612119 to your computer and use it in GitHub Desktop.
.gitignore file for my Pelican based web blog
# Maintainer: jeffskinnerbox@yahoo.com / www.jeffskinnerbox.me
# Version: 1.1.1
#
# DESCRIPTION:
# This file specifies intentionally untracked files that Git should ignore.
#
# Each line in this .gitignore file specifies a regular expression pattern
# that, when matched, the coresponding file will NOT be include in Git processing.
#
# DOCUMENTATION:
# Some basic rules to help you to set up your .gitignore file correctly:
#
# * Any line that starts with a hash (#) is a comment.
# * The \ character escapes special characters.
# * The / character means that the rule applies only to files and folders located in the same folder.
# * An asterisk (*) means any number of characters (zero or more).
# * Two asterisks (**) specify any number of subdirectories.
# * A question mark (?) replaces zero or one character.
# * An exclamation sign (!) designates the inversion rule
# (i.e., it includes any file that was excluded by a previous pattern).
# * Blank lines are ignored, so you can use them to add space and make your file easier to read.
# * Adding / on the end ignores entire directory paths.
#
# SOURCE:
# https://git-scm.com/docs/gitignore
### --------------------------- Project Specific --------------------------- ###
### ------------------------------- General -------------------------------- ###
### Compiler and Linker Files ###
*.pyc
*.com
*.class
*.dll
*.exe
*.o
*.so
*.bin
*.elf
### Packages ###
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
### Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml
### Logs & Databases ###
*.log
*.sql
*.sqlite
*.dblite
.ipynb_checkpoints
.ropeproject
__pycache__
### OS Generated Files ###
*.out
*.swp
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
### Vagrant files & directory
*.box
.vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment