2 # NOTE! Don't add files that are generated in specific
3 # subdirectories here. Add them in the ".gitignore" file
4 # in that subdirectory instead.
6 # NOTE! Please use 'git ls-files -i --exclude-standard'
7 # command after changing this file, to see if there are
8 # any tracked files which get ignored after the change.
10 # Normal rules (sorted alphabetically)
51 # Top-level generic files
62 /modules.builtin.modinfo
66 # RPM spec file (make rpm-pkg)
71 # Debian directory (make deb-pkg)
76 # Snap directory (make snap-pkg)
81 # tar directory (make tar*-pkg)
86 # We don't want to ignore the following even if they are dot-files
90 !.get_maintainer.ignore
96 # Generated include files
101 /arch/*/include/generated/
103 # Generated lkdtm tests
104 /tools/testing/selftests/lkdtm/*.sh
105 !/tools/testing/selftests/lkdtm/run.sh
107 # stgit generated dirs
132 # Leavings from module signing
151 # Clang's compilation database file
152 /compile_commands.json