blob: a1dfd2acd9c36dd716bbbc4cac2855b04edc082d [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
25*.ll
26*.lst
27*.lz4
28*.lzma
29*.lzo
30*.mod.c
Linus Torvalds1e651742005-10-18 08:26:15 -070031*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070032*.o.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090033*.order
34*.patch
Linus Torvalds1e651742005-10-18 08:26:15 -070035*.s
Brian Gerst20ede272006-01-05 12:10:52 -050036*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020037*.so.dbg
Rasmus Villemoese2557282015-08-20 11:53:28 +020038*.su
Masahiro Yamada1377dd32017-10-31 00:33:45 +090039*.symtypes
40*.tar
41*.xz
42Module.symvers
43modules.builtin
Linus Torvalds1e651742005-10-18 08:26:15 -070044
45#
46# Top-level generic files
47#
Linus Torvalds6db823c2010-03-12 16:30:23 -080048/tags
49/TAGS
50/linux
51/vmlinux
Florian Fainellid0fe1162015-04-24 10:27:40 -070052/vmlinux.32
Daniel Thompson2478a8a2015-02-17 13:47:38 -080053/vmlinux-gdb.py
Linus Torvalds6db823c2010-03-12 16:30:23 -080054/vmlinuz
55/System.map
56/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080057
58#
Masahiro Yamadaaf60e202017-09-30 10:10:10 +090059# RPM spec file (make rpm-pkg)
60#
61/*.spec
62
63#
Greg Dietscheb7568282011-06-30 18:42:50 -050064# Debian directory (make deb-pkg)
65#
66/debian/
67
68#
Paolo Pisati5704d452017-11-27 12:07:34 +010069# Snap directory (make snap-pkg)
70#
71/snap/
72
73#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080074# tar directory (make tar*-pkg)
75#
76/tar-install/
77
78#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090079# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080080#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040081!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030082!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070083!.cocciconfig
Miguel Ojedad4ef8d32018-04-10 16:32:40 -070084!.clang-format
Linus Torvalds1e651742005-10-18 08:26:15 -070085
86#
87# Generated include files
88#
Linus Torvalds1e651742005-10-18 08:26:15 -070089include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020090include/generated
Masahiro Yamadafbfa9be2018-03-16 16:37:14 +090091include/ksym
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020092arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070093
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030094# stgit generated dirs
95patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080096
97# quilt's files
98patches
99series
Tobias Klauser132e2bc2006-12-22 01:07:32 -0800100
101# cscope files
102cscope.*
Jike Song9723c042008-05-22 09:23:10 +0800103ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700104
Jani Nikulaf2ac5e72009-06-11 12:21:47 +0300105# gnu global files
106GPATH
107GRTAGS
108GSYMS
109GTAGS
110
Andi Kleena37161c2015-04-16 14:02:41 -0700111# id-utils files
112ID
113
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700114*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800115*~
116\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100117
118#
119# Leavings from module signing
120#
121extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100122signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100123signing_key.priv
124signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100125x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800126
127# Kconfig presets
128all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200129
130# Kdevelop4
131*.kdev4
Zhu Lingshand6820262018-02-12 21:45:42 +0800132
133#Automatically generated by ASN.1 compiler
134net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
135net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h