Fix .gitignore to exclude user-specific files
- Remove tracked .idea/dataSources.xml (user-specific DB config) - Remove tracked .idea/vcs.xml (user-specific VCS settings) - Use whitelist approach for .idea/ directory - Add patterns for temp/backup files (*.backup*, *.py, temp_*.json, etc.)
This commit is contained in:
15
.gitignore
vendored
15
.gitignore
vendored
@@ -15,6 +15,11 @@ target/
|
|||||||
### IntelliJ IDEA ###
|
### IntelliJ IDEA ###
|
||||||
.idea/*
|
.idea/*
|
||||||
!.idea/runConfigurations/
|
!.idea/runConfigurations/
|
||||||
|
!.idea/.gitignore
|
||||||
|
!.idea/compiler.xml
|
||||||
|
!.idea/encodings.xml
|
||||||
|
!.idea/jarRepositories.xml
|
||||||
|
!.idea/misc.xml
|
||||||
*.iws
|
*.iws
|
||||||
*.iml
|
*.iml
|
||||||
*.ipr
|
*.ipr
|
||||||
@@ -38,3 +43,13 @@ build/
|
|||||||
### Project Specific ###
|
### Project Specific ###
|
||||||
tmp/
|
tmp/
|
||||||
uploads/
|
uploads/
|
||||||
|
|
||||||
|
### Temp and backup files ###
|
||||||
|
*.backup
|
||||||
|
*.backup*
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.py
|
||||||
|
temp_*.json
|
||||||
|
last_part.json
|
||||||
|
fix_*.py
|
||||||
|
|||||||
Reference in New Issue
Block a user