Harden .gitignore: broaden .env exclusion to *.env (with explicit exceptions for global.env and *.env-example templates), ignore stray .bak files
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
This commit is contained in:
+13
@@ -2,8 +2,17 @@
|
|||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Secrets / stack env files - never commit these.
|
||||||
|
# deploy/global.env and immich.env-example etc. are the intended committed
|
||||||
|
# templates/examples; actual secret-bearing .env files must stay untracked.
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
|
*.env
|
||||||
|
!*.env-example
|
||||||
|
!deploy/global.env
|
||||||
|
*.env.bak
|
||||||
|
*.env.backup
|
||||||
secrets/
|
secrets/
|
||||||
keys/
|
keys/
|
||||||
*.key
|
*.key
|
||||||
@@ -15,3 +24,7 @@ keys/
|
|||||||
# Local overrides
|
# Local overrides
|
||||||
docker-compose.override.yml
|
docker-compose.override.yml
|
||||||
local/
|
local/
|
||||||
|
|
||||||
|
# Editor/adhoc backups that sometimes get left in the tree
|
||||||
|
*.bak
|
||||||
|
*.bak-*
|
||||||
|
|||||||
Reference in New Issue
Block a user