Skip to content

Instantly share code, notes, and snippets.

@BjoernLudwigPTB
Forked from octocat/.gitignore
Last active September 13, 2019 13:57
Show Gist options
  • Save BjoernLudwigPTB/01f7e81ed8f5ae14a2b84b462470c4a6 to your computer and use it in GitHub Desktop.
Save BjoernLudwigPTB/01f7e81ed8f5ae14a2b84b462470c4a6 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations including Python development and testing via PyCharm
################################################################################
# Originally taken from the Octocat at #
# https://gist.github.com/octocat/9257657 #
# #
# Installation command you find here #
# https://help.github.com/en/articles/ignoring-files#create-a-global-gitignore #
################################################################################
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# 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
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# LaTeX #
# taken from https://gist.github.com/kogakure/149016 #
# found through https://gist.github.com/rbf/2224744 #
######################################################
*.aux
*.glo
*.idx
*.log
*.toc
*.ist
*.acn
*.acr
*.alg
*.bbl
*.blg
*.dvi
*.glg
*.gls
*.ilg
*.ind
*.lof
*.lot
*.maf
*.mtc
*.mtc1
*.out
*.synctex.gz
# Python inspired by https://gist.github.com/rbf/2224744 #
##########################################################
*.pyc
.coverage
.tox
.pytest_cache/
__pycache__/
# Jetbrains IDEs also we are aware of #
# https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 #
######################################################################
.idea/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment