blob: 1e82be162e6f89c5dd53d58b8f7ce352c687be36 [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
14*.bin
15*.bz2
16*.c.[012]*.*
Masahiro Yamada10b62a22017-10-31 00:33:46 +090017*.dtb
18*.dtb.S
Masahiro Yamada1377dd32017-10-31 00:33:45 +090019*.dwo
20*.elf
21*.gcno
22*.gz
23*.i
24*.ko
Masahiro Yamada59889302018-03-23 22:04:30 +090025*.lex.c
Masahiro Yamada1377dd32017-10-31 00:33:45 +090026*.ll
27*.lst
28*.lz4
29*.lzma
30*.lzo
31*.mod.c
Linus Torvalds1e651742005-10-18 08:26:15 -070032*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070033*.o.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090034*.order
35*.patch
Linus Torvalds1e651742005-10-18 08:26:15 -070036*.s
Brian Gerst20ede272006-01-05 12:10:52 -050037*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020038*.so.dbg
Rasmus Villemoese2557282015-08-20 11:53:28 +020039*.su
Masahiro Yamada1377dd32017-10-31 00:33:45 +090040*.symtypes
Masahiro Yamada59889302018-03-23 22:04:30 +090041*.tab.[ch]
Masahiro Yamada1377dd32017-10-31 00:33:45 +090042*.tar
43*.xz
44Module.symvers
45modules.builtin
Linus Torvalds1e651742005-10-18 08:26:15 -070046
47#
48# Top-level generic files
49#
Linus Torvalds6db823c2010-03-12 16:30:23 -080050/tags
51/TAGS
52/linux
53/vmlinux
Florian Fainellid0fe1162015-04-24 10:27:40 -070054/vmlinux.32
Daniel Thompson2478a8a2015-02-17 13:47:38 -080055/vmlinux-gdb.py
Linus Torvalds6db823c2010-03-12 16:30:23 -080056/vmlinuz
57/System.map
58/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080059
60#
Masahiro Yamadaaf60e202017-09-30 10:10:10 +090061# RPM spec file (make rpm-pkg)
62#
63/*.spec
64
65#
Greg Dietscheb7568282011-06-30 18:42:50 -050066# Debian directory (make deb-pkg)
67#
68/debian/
69
70#
Paolo Pisati5704d452017-11-27 12:07:34 +010071# Snap directory (make snap-pkg)
72#
73/snap/
74
75#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080076# tar directory (make tar*-pkg)
77#
78/tar-install/
79
80#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090081# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080082#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040083!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030084!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070085!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070086
87#
88# Generated include files
89#
Linus Torvalds1e651742005-10-18 08:26:15 -070090include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020091include/generated
Masahiro Yamadafbfa9be2018-03-16 16:37:14 +090092include/ksym
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020093arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070094
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030095# stgit generated dirs
96patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080097
98# quilt's files
99patches
100series
Tobias Klauser132e2bc2006-12-22 01:07:32 -0800101
102# cscope files
103cscope.*
Jike Song9723c042008-05-22 09:23:10 +0800104ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700105
Jani Nikulaf2ac5e72009-06-11 12:21:47 +0300106# gnu global files
107GPATH
108GRTAGS
109GSYMS
110GTAGS
111
Andi Kleena37161c2015-04-16 14:02:41 -0700112# id-utils files
113ID
114
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700115*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800116*~
117\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100118
119#
120# Leavings from module signing
121#
122extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100123signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100124signing_key.priv
125signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100126x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800127
128# Kconfig presets
129all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200130
131# Kdevelop4
132*.kdev4
Zhu Lingshand6820262018-02-12 21:45:42 +0800133
134#Automatically generated by ASN.1 compiler
135net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
136net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h