Skip to content

Instantly share code, notes, and snippets.

@martin-martin
Forked from octocat/.gitignore
Last active February 20, 2019 03:42
Show Gist options
  • Save martin-martin/79cbf9f401ab119d445cd02e3edcbe57 to your computer and use it in GitHub Desktop.
Save martin-martin/79cbf9f401ab119d445cd02e3edcbe57 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
# Virtual Environments #
########################
env/
.env/
venv
.venv
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
*.pyo
# Editor generated files #
##########################
*.swp
*.swo
*~
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
*.sqlite3
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# jupyter created files #
#########################
.ipynb_checkpoints
# project-setting files #
#########################
*.sublime-project
*.sublime-workspace
.idea
# secrets #
###########
*.pem
@martin-martin
Copy link
Author

as well as virtual environment env/ folders.

@martin-martin
Copy link
Author

added more .env folders, project-specific workspace settings, secrets, and jupyter checkpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment