blob: 1c8189e674671a84b3a2f9ab443621e78dcc30e6 [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#
Masahiro Yamada1377dd32017-10-31 00:33:45 +090010# Normal rules (sorted alphabetically)
Linus Torvalds1e651742005-10-18 08:26:15 -070011#
12.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090013*.a
Masahiro Yamada4fa8bc92018-03-23 22:04:37 +090014*.asn1.[ch]
Masahiro Yamada1377dd32017-10-31 00:33:45 +090015*.bin
16*.bz2
17*.c.[012]*.*
Masahiro Yamada10b62a22017-10-31 00:33:46 +090018*.dtb
19*.dtb.S
Masahiro Yamada1377dd32017-10-31 00:33:45 +090020*.dwo
21*.elf
22*.gcno
23*.gz
24*.i
25*.ko
Masahiro Yamada59889302018-03-23 22:04:30 +090026*.lex.c
Masahiro Yamada1377dd32017-10-31 00:33:45 +090027*.ll
28*.lst
29*.lz4
30*.lzma
31*.lzo
32*.mod.c
Linus Torvalds1e651742005-10-18 08:26:15 -070033*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070034*.o.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090035*.order
36*.patch
Linus Torvalds1e651742005-10-18 08:26:15 -070037*.s
Brian Gerst20ede272006-01-05 12:10:52 -050038*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020039*.so.dbg
Rasmus Villemoese2557282015-08-20 11:53:28 +020040*.su
Masahiro Yamada1377dd32017-10-31 00:33:45 +090041*.symtypes
Masahiro Yamada59889302018-03-23 22:04:30 +090042*.tab.[ch]
Masahiro Yamada1377dd32017-10-31 00:33:45 +090043*.tar
44*.xz
45Module.symvers
46modules.builtin
Linus Torvalds1e651742005-10-18 08:26:15 -070047
48#
49# Top-level generic files
50#
Linus Torvalds6db823c2010-03-12 16:30:23 -080051/tags
52/TAGS
53/linux
54/vmlinux
Florian Fainellid0fe1162015-04-24 10:27:40 -070055/vmlinux.32
Daniel Thompson2478a8a2015-02-17 13:47:38 -080056/vmlinux-gdb.py
Linus Torvalds6db823c2010-03-12 16:30:23 -080057/vmlinuz
58/System.map
59/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080060
61#
Masahiro Yamadaaf60e202017-09-30 10:10:10 +090062# RPM spec file (make rpm-pkg)
63#
64/*.spec
65
66#
Greg Dietscheb7568282011-06-30 18:42:50 -050067# Debian directory (make deb-pkg)
68#
69/debian/
70
71#
Paolo Pisati5704d452017-11-27 12:07:34 +010072# Snap directory (make snap-pkg)
73#
74/snap/
75
76#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080077# tar directory (make tar*-pkg)
78#
79/tar-install/
80
81#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090082# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080083#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040084!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030085!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070086!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070087
88#
89# Generated include files
90#
Linus Torvalds1e651742005-10-18 08:26:15 -070091include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020092include/generated
Masahiro Yamadafbfa9be2018-03-16 16:37:14 +090093include/ksym
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020094arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070095
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030096# stgit generated dirs
97patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080098
99# quilt's files
100patches
101series
Tobias Klauser132e2bc2006-12-22 01:07:32 -0800102
103# cscope files
104cscope.*
Jike Song9723c042008-05-22 09:23:10 +0800105ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700106
Jani Nikulaf2ac5e72009-06-11 12:21:47 +0300107# gnu global files
108GPATH
109GRTAGS
110GSYMS
111GTAGS
112
Andi Kleena37161c2015-04-16 14:02:41 -0700113# id-utils files
114ID
115
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700116*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800117*~
118\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100119
120#
121# Leavings from module signing
122#
123extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100124signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100125signing_key.priv
126signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100127x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800128
129# Kconfig presets
130all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200131
132# Kdevelop4
133*.kdev4