git: ignore: improve ignored files
I still want to edit the '*.env' without hassle, while still ignoring all the directories for each container's configuration. We now ignore all directories by default, except '*.env" files inside them and the '*.subdomain.conf' Nginx configuration files.
This commit is contained in:
parent
d3c1a98264
commit
ffc931ae1a
27
.gitignore
vendored
27
.gitignore
vendored
|
@ -1,28 +1,7 @@
|
||||||
/calibre-web/
|
/*/*
|
||||||
/freshrss/
|
!*/*.env
|
||||||
/gitea/
|
|
||||||
/library
|
|
||||||
/books_to_add
|
|
||||||
/comics
|
|
||||||
/comixed/
|
|
||||||
/tenma
|
|
||||||
/pyload
|
|
||||||
/transmission
|
|
||||||
/jackett
|
|
||||||
/sonarr
|
|
||||||
/radarr
|
|
||||||
/bazarr
|
|
||||||
/quassel
|
|
||||||
/lidarr
|
|
||||||
/grocy
|
|
||||||
/emby
|
|
||||||
embystat
|
|
||||||
/airsonic
|
|
||||||
sabnzbd
|
|
||||||
nzbhydra2
|
|
||||||
komga
|
|
||||||
photoprism
|
|
||||||
|
|
||||||
|
# This is not necessary with the wildcard used in the first line, but it is clearer
|
||||||
/letsencrypt/*
|
/letsencrypt/*
|
||||||
!/letsencrypt/nginx/
|
!/letsencrypt/nginx/
|
||||||
|
|
||||||
|
|
Reference in a new issue