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@xxxxxxxxxxxxxxxxxxx> Cc: Dr. Tobias Quathamer <toddy@xxxxxxxxxx> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- .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/ -- 2.31.1