gitignore: Ignore all files starting with dot (.)
diff mbox series

Message ID b4026c746a164c83636ff14d77bd0638b1cd5407.1579669956.git.viresh.kumar@linaro.org
State Superseded
Headers show
Series
  • gitignore: Ignore all files starting with dot (.)
Related show

Commit Message

Viresh Kumar Jan. 22, 2020, 5:12 a.m. UTC
The purpose behind this modification was to start ignoring the .*.swp
files, but then I looked at how the Linux kernel handles this and so
this patch ignores anything that starts with a dot (.).

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/.gitignore b/.gitignore
index 903d616b11c4..0a14ebcbeefc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@ 
 CVS
+.*
 *~
 *.o
 *.o.d