diff --git a/.gitattributes b/.gitattributes
index cde3855457d4242f55d39f8c9c62c58d08303a14..b2be7c80155415f124560bce8097cc729ad6056f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,4 @@
 *.xz filter=lfs diff=lfs merge=lfs -text
 *.deb filter=lfs diff=lfs merge=lfs -text
 *.gz filter=lfs diff=lfs merge=lfs -text
-*.db filter=lfs diff=lfs merge=lfs -text
+*.db filter=lfs diff=db merge=lfs -text
diff --git a/README.md b/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..90985e71b0aee5955c304069cbcdb4ea2738f002
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+# qsx’ Debian repository
+
+Add to `.git/config`:
+
+```ini
+[diff "db"]
+	textconv = db_dump -p
+```