[PATCH 1/1] gitignore: add *~ and .*.swp to ignore

Hans-Christian Egtvedt hans-christian.egtvedt at atmel.com
Tue Feb 24 14:16:07 UTC 2009


I have an annoying config.in.h~ file in my repository after running
autoreconf -i -v -f. This patch adds it to top level .gitignore.

The patch also adds .*.swp, which will ignore temporary files generated
by vim.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
---
 .gitignore |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7977f44..9616077 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
+*~
 *.o
 .deps
 .libs
+.*.swp
 
 Makefile
 Makefile.in
-- 
1.5.6.3





More information about the Strace-devel mailing list