]> Git Repo - linux.git/blame - .gitignore
Linux 6.14-rc3
[linux.git] / .gitignore
CommitLineData
d198b34f 1# SPDX-License-Identifier: GPL-2.0-only
1e65174a
LT
2#
3# NOTE! Don't add files that are generated in specific
4# subdirectories here. Add them in the ".gitignore" file
5# in that subdirectory instead.
6#
b8a9ddca 7# NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
f72e9df0
EGM
8# command after changing this file, to see if there are
9# any tracked files which get ignored after the change.
10#
1377dd3e 11# Normal rules (sorted alphabetically)
1e65174a
LT
12#
13.*
1377dd3e 14*.a
4fa8bc94 15*.asn1.[ch]
1377dd3e
MY
16*.bin
17*.bz2
18*.c.[012]*.*
4f0e3a57 19*.dt.yaml
10b62a2f 20*.dtb
ce88c9c7 21*.dtbo
10b62a2f 22*.dtb.S
dcad240c 23*.dtbo.S
1377dd3e 24*.dwo
0730422b 25*.dylib
1377dd3e
MY
26*.elf
27*.gcno
a0f6e5e9 28*.gcda
1377dd3e
MY
29*.gz
30*.i
31*.ko
59889300 32*.lex.c
1377dd3e
MY
33*.ll
34*.lst
35*.lz4
36*.lzma
37*.lzo
b7dca6dd 38*.mod
1377dd3e 39*.mod.c
1e65174a 40*.o
96918a35 41*.o.*
1377dd3e 42*.patch
2f7ab126 43*.rmeta
924d28b3 44*.rpm
2f7ab126 45*.rsi
1e65174a 46*.s
20ede274 47*.so
f322727b 48*.so.dbg
1377dd3e 49*.su
ac3b719c 50*.symtypes
59889300 51*.tab.[ch]
f4ae9497 52*.tar
790e10ba 53*.xz
6f3decab 54*.zst
082722a0 55Module.symvers
24507871 56dtbs-list
a564bdeb 57modules.order
1e65174a
LT
58
59#
60# Top-level generic files
61#
6db823cf 62/linux
69bc8d38 63/modules-only.symvers
6db823cf 64/vmlinux
d0fe116b 65/vmlinux.32
5cc12472 66/vmlinux.map
269a535c 67/vmlinux.symvers
2478a8a1 68/vmlinux-gdb.py
6db823cf
LT
69/vmlinuz
70/System.map
71/Module.markers
40cb0203 72/modules.builtin
898490c0 73/modules.builtin.modinfo
5f5e7344 74/modules.builtin.ranges
bbc55bde 75/modules.nsdeps
6db823cf 76
af60e207
MY
77#
78# RPM spec file (make rpm-pkg)
79#
81f59a26 80/rpmbuild/
af60e207 81
b7568286
GD
82#
83# Debian directory (make deb-pkg)
84#
85/debian/
86
5704d455
PP
87#
88# Snap directory (make snap-pkg)
89#
90/snap/
91
dd10ca6c
AS
92#
93# tar directory (make tar*-pkg)
94#
95/tar-install/
96
c8578539
TW
97#
98# pacman files (make pacman-pkg)
99#
100/PKGBUILD
101/pacman/
102
6db823cf 103#
f46e65da 104# We don't want to ignore the following even if they are dot-files
6db823cf 105#
f46e65da 106!.clang-format
7d56786e 107!.clippy.toml
f46e65da 108!.cocciconfig
5a602de9 109!.editorconfig
f46e65da
MY
110!.get_maintainer.ignore
111!.gitattributes
9e447a7f 112!.gitignore
cb8865fd 113!.kunitconfig
f72e9df0 114!.mailmap
80db40ba 115!.rustfmt.toml
1e65174a
LT
116
117#
118# Generated include files
119#
1e35663e
MY
120/include/config/
121/include/generated/
1e35663e 122/arch/*/include/generated/
1e65174a 123
1d519605
MCC
124# stgit generated dirs
125patches-*
8ccf2832
QY
126
127# quilt's files
128patches
129series
132e2bc3 130
819cb9fc
MY
131# ctags files
132tags
4198a4d2 133!tags/
819cb9fc
MY
134TAGS
135
132e2bc3
TK
136# cscope files
137cscope.*
9723c046 138ncscope.*
3f1b0e1f 139
f2ac5e78
JN
140# gnu global files
141GPATH
142GRTAGS
143GSYMS
144GTAGS
145
a37161c0
AK
146# id-utils files
147ID
148
70886554
CD
149*~
150\#*#
addbcdbb
DH
151
152#
153# Leavings from module signing
154#
155extra_certificates
fb117949 156signing_key.pem
addbcdbb
DH
157signing_key.priv
158signing_key.x509
addbcdbb 159x509.genkey
25fba9be
BP
160
161# Kconfig presets
7fb1fc42
MY
162/all.config
163/alldef.config
164/allmod.config
165/allno.config
166/allrandom.config
167/allyes.config
dfe04872 168
ba77dca5
PM
169# Kconfig savedefconfig output
170/defconfig
171
dfe04872
BH
172# Kdevelop4
173*.kdev4
26c4c71b
TK
174
175# Clang's compilation database file
176/compile_commands.json
f6236efc
MCC
177
178# Documentation toolchain
179sphinx_*/
8c4555cc
MO
180
181# Rust analyzer configuration
182/rust-project.json
This page took 0.905555 seconds and 4 git commands to generate.