xref: /linux/.gitignore (revision b85d45947951d23cb22d90caecf4c1eb81342c96)
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
41#
42# Top-level generic files
43#
44/tags
45/TAGS
46/linux
47/vmlinux
48/vmlinux.32
49/vmlinux-gdb.py
50/vmlinuz
51/System.map
52/Module.markers
53
54#
55# Debian directory (make deb-pkg)
56#
57/debian/
58
59#
60# tar directory (make tar*-pkg)
61#
62/tar-install/
63
64#
65# git files that we don't want to ignore even it they are dot-files
66#
67!.gitignore
68!.mailmap
69
70#
71# Generated include files
72#
73include/config
74include/generated
75arch/*/include/generated
76
77# stgit generated dirs
78patches-*
79
80# quilt's files
81patches
82series
83
84# cscope files
85cscope.*
86ncscope.*
87
88# gnu global files
89GPATH
90GRTAGS
91GSYMS
92GTAGS
93
94# id-utils files
95ID
96
97*.orig
98*~
99\#*#
100
101#
102# Leavings from module signing
103#
104extra_certificates
105signing_key.pem
106signing_key.priv
107signing_key.x509
108x509.genkey
109
110# Kconfig presets
111all.config
112
113# Kdevelop4
114*.kdev4
115