From 0fbec630fd0b7da7fe6d24ebd0b5be011e34b1da Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 9 May 2021 23:39:29 +0200 Subject: [PATCH] .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 Cc: Dr. Tobias Quathamer Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- .gitignore | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitignore 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/