1 # 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. 5 # 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. 9 # 10 # Normal rules (sorted alphabetically) 11 # 12 .* 13 *.a 14 *.asn1.[ch] 15 *.bin 16 *.bz2 17 *.c.[012]*.* 18 *.dtb 19 *.dtb.S 20 *.dwo 21 *.elf 22 *.gcno 23 *.gz 24 *.i 25 *.ko 26 *.lex.c 27 *.ll 28 *.lst 29 *.lz4 30 *.lzma 31 *.lzo 32 *.mod.c 33 *.o 34 *.o.* 35 *.order 36 *.patch 37 *.s 38 *.so 39 *.so.dbg 40 *.su 41 *.symtypes 42 *.tab.[ch] 43 *.tar 44 *.xz 45 Module.symvers 46 modules.builtin 47 48 # 49 # Top-level generic files 50 # 51 /tags 52 /TAGS 53 /linux 54 /vmlinux 55 /vmlinux.32 56 /vmlinux-gdb.py 57 /vmlinuz 58 /System.map 59 /Module.markers 60 61 # 62 # RPM spec file (make rpm-pkg) 63 # 64 /*.spec 65 66 # 67 # Debian directory (make deb-pkg) 68 # 69 /debian/ 70 71 # 72 # Snap directory (make snap-pkg) 73 # 74 /snap/ 75 76 # 77 # tar directory (make tar*-pkg) 78 # 79 /tar-install/ 80 81 # 82 # git files that we don't want to ignore even if they are dot-files 83 # 84 !.gitignore 85 !.mailmap 86 !.cocciconfig 87 !.clang-format 88 89 # 90 # Generated include files 91 # 92 include/config 93 include/generated 94 include/ksym 95 arch/*/include/generated 96 97 # stgit generated dirs 98 patches-* 99 100 # quilt's files 101 patches 102 series 103 104 # cscope files 105 cscope.* 106 ncscope.* 107 108 # gnu global files 109 GPATH 110 GRTAGS 111 GSYMS 112 GTAGS 113 114 # id-utils files 115 ID 116 117 *.orig 118 *~ 119 \#*# 120 121 # 122 # Leavings from module signing 123 # 124 extra_certificates 125 signing_key.pem 126 signing_key.priv 127 signing_key.x509 128 x509.genkey 129 130 # Kconfig presets 131 all.config 132 133 # Kdevelop4 134 *.kdev4 135