It ignores files inside "test/" and "examples/" except all c code (*.c) and the "Makefile.am" Signed-off-by: Carlos Falgueras García <carlosfg@xxxxxxxxxx> --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 5fada45..0d11936 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,11 @@ doxygen.cfg # Debian package build temporary files build-stamp + +# test and examples +examples/ +!examples/*.c +!examples/Makefile.am +tests/ +!tests/*.c +!tests/Makefile.am -- 2.8.0 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html