From 3da60d3a99f2a60a8b98ca20f6423c87d132f1af Mon Sep 17 00:00:00 2001 From: Ashin Walpola Date: Wed, 26 Aug 2026 17:13:50 +0200 Subject: [PATCH] Ignore Office lock files Word creates ~$.docx beside a document while it is open and removes it on close. docs/~$crOBU-User-Guide.docx was showing as untracked while the user guide was being edited, which is exactly the kind of transient file a git add -A sweeps in by accident. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 7050af6..a9bc1ab 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,7 @@ sdkconfig.old # Third-party working copies kept beside the project, not part of it. The ASN.1 # modules this project actually needs are vendored under asn1/ instead. /C-ITS-Parser/ + +# Office lock files. Word/Excel create these beside a document while it is open +# and remove them on close, so they are transient and machine-local. +~$*