summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-05-09 23:39:29 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-05-11 04:34:03 +1200
commit0fbec630fd0b7da7fe6d24ebd0b5be011e34b1da (patch)
tree0bc70d23115283d0e8f3f6951fbd731133544803 /.gitignore
parent3bbc7a7554f2c4d3ecc8e9aca224bfec7d319a95 (diff)
.gitignore: Add file
Ignore everything new by default. This avoids having to update the .gitignore when we need to ignore something new. It also avoids accidents that may add an unwanted temporary file. Cc: Debian man-pages <manpages@packages.debian.org> Cc: Dr. Tobias Quathamer <toddy@debian.org> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000..9eb9fc096
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+# Ignore everything new by default
+/*
+
+# Ignore everything in man?/ that doesn't follow conventions (e.g., tmp files)
+!/man?/
+/man?/**
+!/man?/**.?
+
+# These files change name in each release
+!/man-pages*.Announce
+!/man-pages*.lsm
+
+!/scripts/