xref: /linux/.gitignore (revision f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae)
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
11#
12.*
13*.o
14*.o.*
15*.a
16*.s
17*.ko
18*.so
19*.so.dbg
20*.mod.c
21*.i
22*.lst
23*.symtypes
24*.order
25*.elf
26*.bin
27*.tar
28*.gz
29*.bz2
30*.lzma
31*.xz
32*.lz4
33*.lzo
34*.patch
35*.gcno
36modules.builtin
37Module.symvers
38*.dwo
39*.su
40*.c.[012]*.*
41
42#
43# Top-level generic files
44#
45/tags
46/TAGS
47/linux
48/vmlinux
49/vmlinux.32
50/vmlinux-gdb.py
51/vmlinuz
52/System.map
53/Module.markers
54
55#
56# Debian directory (make deb-pkg)
57#
58/debian/
59
60#
61# tar directory (make tar*-pkg)
62#
63/tar-install/
64
65#
66# git files that we don't want to ignore even if they are dot-files
67#
68!.gitignore
69!.mailmap
70!.cocciconfig
71
72#
73# Generated include files
74#
75include/config
76include/generated
77arch/*/include/generated
78
79# stgit generated dirs
80patches-*
81
82# quilt's files
83patches
84series
85
86# cscope files
87cscope.*
88ncscope.*
89
90# gnu global files
91GPATH
92GRTAGS
93GSYMS
94GTAGS
95
96# id-utils files
97ID
98
99*.orig
100*~
101\#*#
102
103#
104# Leavings from module signing
105#
106extra_certificates
107signing_key.pem
108signing_key.priv
109signing_key.x509
110x509.genkey
111
112# Kconfig presets
113all.config
114
115# Kdevelop4
116*.kdev4
117