Last active
August 23, 2022 08:55
-
-
Save skwashd/6505e5bcea850ab9effac168c3369725 to your computer and use it in GitHub Desktop.
Global .gitignore configuration for PHP and Python developers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save this file as ~/.gitignore_global | |
# Add the following entry to ~/.gitconfig | |
# | |
# [core] | |
# excludesfile = /Users/dave/.gitignore_global | |
# | |
# Compiled source # | |
################### | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# Packages # | |
############ | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite | |
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
Icon? | |
ehthumbs.db | |
Thumbs.db | |
# Backup and temp files # | |
*.bak | |
.*.sw? | |
*.un~ | |
# Patches, diffs etc | |
*.patch | |
*.diff | |
*.orig | |
*.rej | |
# Test coverage reports | |
.coverage | |
# IDEs | |
## vscode | |
.vscode/* | |
!.vscode/settings.json | |
!.vscode/tasks.json | |
!.vscode/launch.json | |
!.vscode/extensions.json | |
!.vscode/*.code-snippets | |
.history/ | |
## IntelliJ | |
.idea/ | |
## Sublime | |
*.sublime-project | |
*.sublime-workspace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment