Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 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 | # | ||||
Matt Kraai | ff2f5ff | 2009-06-04 21:43:10 -0700 | [diff] [blame] | 6 | # NOTE! Please use 'git ls-files -i --exclude-standard' |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 7 | # command after changing this file, to see if there are |
8 | # any tracked files which get ignored after the change. | ||||
9 | # | ||||
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 10 | # Normal rules (sorted alphabetically) |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 11 | # |
12 | .* | ||||
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 13 | *.a |
Masahiro Yamada | 4fa8bc9 | 2018-03-23 22:04:37 +0900 | [diff] [blame] | 14 | *.asn1.[ch] |
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 15 | *.bin |
16 | *.bz2 | ||||
17 | *.c.[012]*.* | ||||
Rob Herring | 4f0e3a5 | 2018-09-06 13:26:07 -0500 | [diff] [blame] | 18 | *.dt.yaml |
Masahiro Yamada | 10b62a2 | 2017-10-31 00:33:46 +0900 | [diff] [blame] | 19 | *.dtb |
20 | *.dtb.S | ||||
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 21 | *.dwo |
22 | *.elf | ||||
23 | *.gcno | ||||
24 | *.gz | ||||
25 | *.i | ||||
26 | *.ko | ||||
Masahiro Yamada | 5988930 | 2018-03-23 22:04:30 +0900 | [diff] [blame] | 27 | *.lex.c |
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 28 | *.ll |
29 | *.lst | ||||
30 | *.lz4 | ||||
31 | *.lzma | ||||
32 | *.lzo | ||||
33 | *.mod.c | ||||
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 34 | *.o |
Alexey Dobriyan | 96918a3 | 2007-07-31 00:37:25 -0700 | [diff] [blame] | 35 | *.o.* |
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 36 | *.order |
37 | *.patch | ||||
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 38 | *.s |
Brian Gerst | 20ede27 | 2006-01-05 12:10:52 -0500 | [diff] [blame] | 39 | *.so |
Thomas Gleixner | f322727 | 2007-10-19 20:35:02 +0200 | [diff] [blame] | 40 | *.so.dbg |
Rasmus Villemoes | e255728 | 2015-08-20 11:53:28 +0200 | [diff] [blame] | 41 | *.su |
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 42 | *.symtypes |
Masahiro Yamada | 5988930 | 2018-03-23 22:04:30 +0900 | [diff] [blame] | 43 | *.tab.[ch] |
Masahiro Yamada | 1377dd3 | 2017-10-31 00:33:45 +0900 | [diff] [blame] | 44 | *.tar |
45 | *.xz | ||||
46 | Module.symvers | ||||
47 | modules.builtin | ||||
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 48 | |
49 | # | ||||
50 | # Top-level generic files | ||||
51 | # | ||||
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 52 | /tags |
53 | /TAGS | ||||
54 | /linux | ||||
55 | /vmlinux | ||||
Florian Fainelli | d0fe116 | 2015-04-24 10:27:40 -0700 | [diff] [blame] | 56 | /vmlinux.32 |
Daniel Thompson | 2478a8a | 2015-02-17 13:47:38 -0800 | [diff] [blame] | 57 | /vmlinux-gdb.py |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 58 | /vmlinuz |
59 | /System.map | ||||
60 | /Module.markers | ||||
Alexey Gladkov | 898490c | 2019-04-29 18:11:14 +0200 | [diff] [blame] | 61 | /modules.builtin.modinfo |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 62 | |
63 | # | ||||
Masahiro Yamada | af60e20 | 2017-09-30 10:10:10 +0900 | [diff] [blame] | 64 | # RPM spec file (make rpm-pkg) |
65 | # | ||||
66 | /*.spec | ||||
67 | |||||
68 | # | ||||
Greg Dietsche | b756828 | 2011-06-30 18:42:50 -0500 | [diff] [blame] | 69 | # Debian directory (make deb-pkg) |
70 | # | ||||
71 | /debian/ | ||||
72 | |||||
73 | # | ||||
Paolo Pisati | 5704d45 | 2017-11-27 12:07:34 +0100 | [diff] [blame] | 74 | # Snap directory (make snap-pkg) |
75 | # | ||||
76 | /snap/ | ||||
77 | |||||
78 | # | ||||
Andrey Skvortsov | dd10ca6 | 2015-02-12 15:01:19 -0800 | [diff] [blame] | 79 | # tar directory (make tar*-pkg) |
80 | # | ||||
81 | /tar-install/ | ||||
82 | |||||
83 | # | ||||
Masahiro Yamada | f46e65d | 2019-05-11 12:13:54 +0900 | [diff] [blame^] | 84 | # We don't want to ignore the following even if they are dot-files |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 85 | # |
Masahiro Yamada | f46e65d | 2019-05-11 12:13:54 +0900 | [diff] [blame^] | 86 | !.clang-format |
87 | !.cocciconfig | ||||
88 | !.get_maintainer.ignore | ||||
89 | !.gitattributes | ||||
Denis V. Lunev | 9e447a7 | 2007-10-16 11:22:21 +0400 | [diff] [blame] | 90 | !.gitignore |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 91 | !.mailmap |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 92 | |
93 | # | ||||
94 | # Generated include files | ||||
95 | # | ||||
Masahiro Yamada | 1e35663 | 2019-04-30 00:17:53 +0900 | [diff] [blame] | 96 | /include/config/ |
97 | /include/generated/ | ||||
98 | /include/ksym/ | ||||
99 | /arch/*/include/generated/ | ||||
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 100 | |
Mauro Carvalho Chehab | 1d51960 | 2006-02-27 00:07:24 -0300 | [diff] [blame] | 101 | # stgit generated dirs |
102 | patches-* | ||||
Qi Yong | 8ccf283 | 2006-07-17 13:37:06 +0800 | [diff] [blame] | 103 | |
104 | # quilt's files | ||||
105 | patches | ||||
106 | series | ||||
Tobias Klauser | 132e2bc | 2006-12-22 01:07:32 -0800 | [diff] [blame] | 107 | |
108 | # cscope files | ||||
109 | cscope.* | ||||
Jike Song | 9723c04 | 2008-05-22 09:23:10 +0800 | [diff] [blame] | 110 | ncscope.* |
Alexey Dobriyan | 3f1b0e1 | 2007-07-15 23:41:52 -0700 | [diff] [blame] | 111 | |
Jani Nikula | f2ac5e7 | 2009-06-11 12:21:47 +0300 | [diff] [blame] | 112 | # gnu global files |
113 | GPATH | ||||
114 | GRTAGS | ||||
115 | GSYMS | ||||
116 | GTAGS | ||||
117 | |||||
Andi Kleen | a37161c | 2015-04-16 14:02:41 -0700 | [diff] [blame] | 118 | # id-utils files |
119 | ID | ||||
120 | |||||
Alexey Dobriyan | 3f1b0e1 | 2007-07-15 23:41:52 -0700 | [diff] [blame] | 121 | *.orig |
Chris Dearman | 7088655 | 2008-03-04 14:28:59 -0800 | [diff] [blame] | 122 | *~ |
123 | \#*# | ||||
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 124 | |
125 | # | ||||
126 | # Leavings from module signing | ||||
127 | # | ||||
128 | extra_certificates | ||||
David Woodhouse | fb11794 | 2015-07-20 21:16:30 +0100 | [diff] [blame] | 129 | signing_key.pem |
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 130 | signing_key.priv |
131 | signing_key.x509 | ||||
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 132 | x509.genkey |
Borislav Petkov | 25fba9b | 2014-02-10 14:25:45 -0800 | [diff] [blame] | 133 | |
134 | # Kconfig presets | ||||
Masahiro Yamada | 7fb1fc4 | 2019-05-07 21:48:46 +0900 | [diff] [blame] | 135 | /all.config |
136 | /alldef.config | ||||
137 | /allmod.config | ||||
138 | /allno.config | ||||
139 | /allrandom.config | ||||
140 | /allyes.config | ||||
Boaz Harrosh | dfe0487 | 2014-11-25 18:42:54 +0200 | [diff] [blame] | 141 | |
142 | # Kdevelop4 | ||||
143 | *.kdev4 |