blob: 0f2f40f71915fcdbf1a10b1e975131d137cdf2fa [file] [log] [blame]
Linus Torvalds1e651742005-10-18 08:26:15 -07001#
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 Kraaiff2f5ff2009-06-04 21:43:10 -07006# NOTE! Please use 'git ls-files -i --exclude-standard'
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +03007# command after changing this file, to see if there are
8# any tracked files which get ignored after the change.
9#
Linus Torvalds1e651742005-10-18 08:26:15 -070010# Normal rules
11#
12.*
13*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070014*.o.*
Linus Torvalds1e651742005-10-18 08:26:15 -070015*.a
16*.s
David Howellsaddbcdb2012-09-26 10:09:50 +010017*.ko.unsigned
18*.ko.stripped
19*.ko.stripped.dig
20*.ko.stripped.sig
Linus Torvalds1e651742005-10-18 08:26:15 -070021*.ko
Brian Gerst20ede272006-01-05 12:10:52 -050022*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020023*.so.dbg
Linus Torvalds1e651742005-10-18 08:26:15 -070024*.mod.c
Josh Triplett0f71a372006-09-16 12:15:42 -070025*.i
Josh Triplett87dedbd2006-09-16 12:15:43 -070026*.lst
Josh Triplettac3b7192006-09-16 12:15:44 -070027*.symtypes
Sam Ravnborgc6025f42007-12-31 14:26:12 +010028*.order
Michal Marekbc081dd2009-12-07 16:38:33 +010029modules.builtin
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030030*.elf
31*.bin
32*.gz
Gertjan van Wingerdee3a41d72009-11-24 06:34:03 +010033*.bz2
Arne Janbu3f8d9ce2009-06-10 18:25:10 +020034*.lzma
Romain Francoise790e10b2011-02-22 10:48:06 +010035*.xz
Philipp Kohlbecher52b80022010-03-17 19:52:12 +010036*.lzo
Mike Frysinger35763e82009-05-26 19:37:54 -040037*.patch
Amerigo Wang7a6b1f12009-06-22 17:18:32 +080038*.gcno
Linus Torvalds1e651742005-10-18 08:26:15 -070039
40#
41# Top-level generic files
42#
Linus Torvalds6db823c2010-03-12 16:30:23 -080043/tags
44/TAGS
45/linux
46/vmlinux
47/vmlinuz
48/System.map
49/Module.markers
50/Module.symvers
51
52#
Greg Dietscheb7568282011-06-30 18:42:50 -050053# Debian directory (make deb-pkg)
54#
55/debian/
56
57#
Linus Torvalds6db823c2010-03-12 16:30:23 -080058# git files that we don't want to ignore even it they are dot-files
59#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040060!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030061!.mailmap
Linus Torvalds1e651742005-10-18 08:26:15 -070062
63#
64# Generated include files
65#
Linus Torvalds1e651742005-10-18 08:26:15 -070066include/config
Linus Torvalds1e651742005-10-18 08:26:15 -070067include/linux/version.h
Sam Ravnborgf14875a2009-04-18 23:51:08 +020068include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020069arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070070
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030071# stgit generated dirs
72patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080073
74# quilt's files
75patches
76series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080077
78# cscope files
79cscope.*
Jike Song9723c042008-05-22 09:23:10 +080080ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070081
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030082# gnu global files
83GPATH
84GRTAGS
85GSYMS
86GTAGS
87
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070088*.orig
Chris Dearman70886552008-03-04 14:28:59 -080089*~
90\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +010091
92#
93# Leavings from module signing
94#
95extra_certificates
96signing_key.priv
97signing_key.x509
98signing_key.x509.keyid
99signing_key.x509.signer
100x509.genkey