summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--changelog.d/14707.misc1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 15fbfdddf1..2b09bddf18 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,7 @@ __pycache__/
 
 # For direnv users
 /.envrc
+.direnv/
 
 # IDEs
 /.idea/
diff --git a/changelog.d/14707.misc b/changelog.d/14707.misc
new file mode 100644
index 0000000000..38f47a6f30
--- /dev/null
+++ b/changelog.d/14707.misc
@@ -0,0 +1 @@
+Add `.direnv/` directory to .gitignore to prevent local state generated by the [direnv](https://direnv.net/) development tool from being committed.
\ No newline at end of file