gitignore: Ignore all files starting with dot (.)
PATCH 1/1 gitignore: Ignore all files starting with dot (.)
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 <[email protected]>
--- .gitignore | 1 + 1 file changed, 1 insertion(+)
.gitignore +1 -0
@@ -1,4 +1,5 @@ CVS +.* *~ *.o *.o.d
Signature · 1 line
2.21.0.rc0.269.g1a574e7a288b
PATCH v2 1/1 gitignore: Ignore swap files
Update .gitignore to ignore .swp files.
Signed-off-by Viresh Kumar <[email protected]>
---V1->V2:
- Replace .* with .*.swp, as .* also ignored all .ignore files as well.
.gitignore | 1 + 1 file changed, 1 insertion(+)
.gitignore +1 -0
@@ -1,4 +1,5 @@ CVS +.*.swp *~ *.o *.o.d
Signature · 1 line
2.21.0.rc0.269.g1a574e7a288b
PATCH v2 1/1 gitignore: Ignore swap files
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]