Skip to content

Build your personal knowledge base with Trilium Notes

🙈 gitignore: Add rules to maintain empty folders and all gitignore files.

Luis González9a587e8c8cb8
diff --git a/.gitignore b/.gitignore
index d16812ab06..8053375514 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,10 @@
+## Add all gitignores
+!**/.gitignore
+!.gitignore
+## Empty folders which should be kept
+!**/.keep
+!.keep
+
#### OS
### Mac OS
## macOS system files