xref: /linux/.gitignore (revision 58ab5e0c2c40ec48e682179e8f2e4cda2ece201b)
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
71#
72# Generated include files
73#
74include/config
75include/generated
76arch/*/include/generated
77
78# stgit generated dirs
79patches-*
80
81# quilt's files
82patches
83series
84
85# cscope files
86cscope.*
87ncscope.*
88
89# gnu global files
90GPATH
91GRTAGS
92GSYMS
93GTAGS
94
95# id-utils files
96ID
97
98*.orig
99*~
100\#*#
101
102#
103# Leavings from module signing
104#
105extra_certificates
106signing_key.pem
107signing_key.priv
108signing_key.x509
109x509.genkey
110
111# Kconfig presets
112all.config
113
114# Kdevelop4
115*.kdev4
116