xref: /linux/.gitignore (revision 2dd0df8472ff9bb520673cb5862b08be9290c9fa)
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#
6# NOTE! Please use 'git ls-files -i --exclude-standard'
7# command after changing this file, to see if there are
8# any tracked files which get ignored after the change.
9#
10# Normal rules (sorted alphabetically)
11#
12.*
13*.a
14*.bin
15*.bz2
16*.c.[012]*.*
17*.dtb
18*.dtb.S
19*.dwo
20*.elf
21*.gcno
22*.gz
23*.i
24*.ko
25*.ll
26*.lst
27*.lz4
28*.lzma
29*.lzo
30*.mod.c
31*.o
32*.o.*
33*.order
34*.patch
35*.s
36*.so
37*.so.dbg
38*.su
39*.symtypes
40*.tar
41*.xz
42Module.symvers
43modules.builtin
44
45#
46# Top-level generic files
47#
48/tags
49/TAGS
50/linux
51/vmlinux
52/vmlinux.32
53/vmlinux-gdb.py
54/vmlinuz
55/System.map
56/Module.markers
57
58#
59# RPM spec file (make rpm-pkg)
60#
61/*.spec
62
63#
64# Debian directory (make deb-pkg)
65#
66/debian/
67
68#
69# Snap directory (make snap-pkg)
70#
71/snap/
72
73#
74# tar directory (make tar*-pkg)
75#
76/tar-install/
77
78#
79# git files that we don't want to ignore even if they are dot-files
80#
81!.gitignore
82!.mailmap
83!.cocciconfig
84
85#
86# Generated include files
87#
88include/config
89include/generated
90include/ksym
91arch/*/include/generated
92
93# stgit generated dirs
94patches-*
95
96# quilt's files
97patches
98series
99
100# cscope files
101cscope.*
102ncscope.*
103
104# gnu global files
105GPATH
106GRTAGS
107GSYMS
108GTAGS
109
110# id-utils files
111ID
112
113*.orig
114*~
115\#*#
116
117#
118# Leavings from module signing
119#
120extra_certificates
121signing_key.pem
122signing_key.priv
123signing_key.x509
124x509.genkey
125
126# Kconfig presets
127all.config
128
129# Kdevelop4
130*.kdev4
131
132#Automatically generated by ASN.1 compiler
133net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
134net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h
135