Ignore all *~ files as editors like to create them, as do some
autotool steps.  This also matches what autoconf is doing.

* .gitignore: Update.
---
 .gitignore | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 89e71ec97d5a..22f40fe9f51f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+*~
+.#*
 /.autom4te.cache
 /ChangeLog
 /Makefile
@@ -24,7 +26,6 @@
 /doc/amhello/aclocal.m4
 /doc/amhello/compile
 /doc/amhello/config.h.in
-/doc/amhello/config.h.in~
 /doc/amhello/configure
 /doc/amhello/depcomp
 /doc/amhello/install-sh
-- 
2.33.0


Reply via email to