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 | # |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 10 | # Normal rules |
| 11 | # |
| 12 | .* |
| 13 | *.o |
Alexey Dobriyan | 96918a3 | 2007-07-31 00:37:25 -0700 | [diff] [blame] | 14 | *.o.* |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 15 | *.a |
| 16 | *.s |
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 17 | *.ko.unsigned |
| 18 | *.ko.stripped |
| 19 | *.ko.stripped.dig |
| 20 | *.ko.stripped.sig |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 21 | *.ko |
Brian Gerst | 20ede27 | 2006-01-05 12:10:52 -0500 | [diff] [blame] | 22 | *.so |
Thomas Gleixner | f322727 | 2007-10-19 20:35:02 +0200 | [diff] [blame] | 23 | *.so.dbg |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 24 | *.mod.c |
Josh Triplett | 0f71a37 | 2006-09-16 12:15:42 -0700 | [diff] [blame] | 25 | *.i |
Josh Triplett | 87dedbd | 2006-09-16 12:15:43 -0700 | [diff] [blame] | 26 | *.lst |
Josh Triplett | ac3b719 | 2006-09-16 12:15:44 -0700 | [diff] [blame] | 27 | *.symtypes |
Sam Ravnborg | c6025f4 | 2007-12-31 14:26:12 +0100 | [diff] [blame] | 28 | *.order |
Michal Marek | bc081dd | 2009-12-07 16:38:33 +0100 | [diff] [blame] | 29 | modules.builtin |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 30 | *.elf |
| 31 | *.bin |
| 32 | *.gz |
Gertjan van Wingerde | e3a41d7 | 2009-11-24 06:34:03 +0100 | [diff] [blame] | 33 | *.bz2 |
Arne Janbu | 3f8d9ce | 2009-06-10 18:25:10 +0200 | [diff] [blame] | 34 | *.lzma |
Romain Francoise | 790e10b | 2011-02-22 10:48:06 +0100 | [diff] [blame] | 35 | *.xz |
Philipp Kohlbecher | 52b8002 | 2010-03-17 19:52:12 +0100 | [diff] [blame] | 36 | *.lzo |
Mike Frysinger | 35763e8 | 2009-05-26 19:37:54 -0400 | [diff] [blame] | 37 | *.patch |
Amerigo Wang | 7a6b1f1 | 2009-06-22 17:18:32 +0800 | [diff] [blame] | 38 | *.gcno |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 39 | |
| 40 | # |
| 41 | # Top-level generic files |
| 42 | # |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 43 | /tags |
| 44 | /TAGS |
| 45 | /linux |
| 46 | /vmlinux |
| 47 | /vmlinuz |
| 48 | /System.map |
| 49 | /Module.markers |
| 50 | /Module.symvers |
| 51 | |
| 52 | # |
Greg Dietsche | b756828 | 2011-06-30 18:42:50 -0500 | [diff] [blame] | 53 | # Debian directory (make deb-pkg) |
| 54 | # |
| 55 | /debian/ |
| 56 | |
| 57 | # |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 58 | # git files that we don't want to ignore even it they are dot-files |
| 59 | # |
Denis V. Lunev | 9e447a7 | 2007-10-16 11:22:21 +0400 | [diff] [blame] | 60 | !.gitignore |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 61 | !.mailmap |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 62 | |
| 63 | # |
| 64 | # Generated include files |
| 65 | # |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 66 | include/config |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 67 | include/linux/version.h |
Sam Ravnborg | f14875a | 2009-04-18 23:51:08 +0200 | [diff] [blame] | 68 | include/generated |
Sam Ravnborg | d8ecc5c | 2011-04-27 22:29:49 +0200 | [diff] [blame] | 69 | arch/*/include/generated |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 70 | |
Mauro Carvalho Chehab | 1d51960 | 2006-02-27 00:07:24 -0300 | [diff] [blame] | 71 | # stgit generated dirs |
| 72 | patches-* |
Qi Yong | 8ccf283 | 2006-07-17 13:37:06 +0800 | [diff] [blame] | 73 | |
| 74 | # quilt's files |
| 75 | patches |
| 76 | series |
Tobias Klauser | 132e2bc | 2006-12-22 01:07:32 -0800 | [diff] [blame] | 77 | |
| 78 | # cscope files |
| 79 | cscope.* |
Jike Song | 9723c04 | 2008-05-22 09:23:10 +0800 | [diff] [blame] | 80 | ncscope.* |
Alexey Dobriyan | 3f1b0e1 | 2007-07-15 23:41:52 -0700 | [diff] [blame] | 81 | |
Jani Nikula | f2ac5e7 | 2009-06-11 12:21:47 +0300 | [diff] [blame] | 82 | # gnu global files |
| 83 | GPATH |
| 84 | GRTAGS |
| 85 | GSYMS |
| 86 | GTAGS |
| 87 | |
Alexey Dobriyan | 3f1b0e1 | 2007-07-15 23:41:52 -0700 | [diff] [blame] | 88 | *.orig |
Chris Dearman | 7088655 | 2008-03-04 14:28:59 -0800 | [diff] [blame] | 89 | *~ |
| 90 | \#*# |
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 91 | |
| 92 | # |
| 93 | # Leavings from module signing |
| 94 | # |
| 95 | extra_certificates |
| 96 | signing_key.priv |
| 97 | signing_key.x509 |
| 98 | signing_key.x509.keyid |
| 99 | signing_key.x509.signer |
| 100 | x509.genkey |