xref: /linux/.gitignore (revision ef69f8d2ff09518657c3ecaf2db8408c16549829)
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# tar directory (make tar*-pkg)
70#
71/tar-install/
72
73#
74# git files that we don't want to ignore even if they are dot-files
75#
76!.gitignore
77!.mailmap
78!.cocciconfig
79
80#
81# Generated include files
82#
83include/config
84include/generated
85arch/*/include/generated
86
87# stgit generated dirs
88patches-*
89
90# quilt's files
91patches
92series
93
94# cscope files
95cscope.*
96ncscope.*
97
98# gnu global files
99GPATH
100GRTAGS
101GSYMS
102GTAGS
103
104# id-utils files
105ID
106
107*.orig
108*~
109\#*#
110
111#
112# Leavings from module signing
113#
114extra_certificates
115signing_key.pem
116signing_key.priv
117signing_key.x509
118x509.genkey
119
120# Kconfig presets
121all.config
122
123# Kdevelop4
124*.kdev4
125