.gitignore 1.5 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
6
# NOTE! Please use 'git ls-files -i --exclude-standard'
7 8 9
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
10
# Normal rules (sorted alphabetically)
L
Linus Torvalds 已提交
11 12
#
.*
13
*.a
14
*.asn1.[ch]
15 16 17
*.bin
*.bz2
*.c.[012]*.*
18 19
*.dtb
*.dtb.S
20 21 22 23 24 25
*.dwo
*.elf
*.gcno
*.gz
*.i
*.ko
26
*.lex.c
27 28 29 30 31 32
*.ll
*.lst
*.lz4
*.lzma
*.lzo
*.mod.c
L
Linus Torvalds 已提交
33
*.o
A
Alexey Dobriyan 已提交
34
*.o.*
35 36
*.order
*.patch
L
Linus Torvalds 已提交
37
*.s
B
Brian Gerst 已提交
38
*.so
T
Thomas Gleixner 已提交
39
*.so.dbg
40
*.su
41
*.symtypes
42
*.tab.[ch]
A
Andrey Skvortsov 已提交
43
*.tar
R
Romain Francoise 已提交
44
*.xz
45
Module.symvers
46
modules.builtin
L
Linus Torvalds 已提交
47 48 49 50

#
# Top-level generic files
#
51 52 53 54
/tags
/TAGS
/linux
/vmlinux
55
/vmlinux.32
56
/vmlinux-gdb.py
57 58 59 60
/vmlinuz
/System.map
/Module.markers

61 62 63 64 65
#
# RPM spec file (make rpm-pkg)
#
/*.spec

66 67 68 69 70
#
# Debian directory (make deb-pkg)
#
/debian/

P
Paolo Pisati 已提交
71 72 73 74 75
#
# Snap directory (make snap-pkg)
#
/snap/

76 77 78 79 80
#
# tar directory (make tar*-pkg)
#
/tar-install/

81
#
K
Kyeongmin Cho 已提交
82
# git files that we don't want to ignore even if they are dot-files
83
#
D
Denis V. Lunev 已提交
84
!.gitignore
85
!.mailmap
86
!.cocciconfig
87
!.clang-format
L
Linus Torvalds 已提交
88 89 90 91 92

#
# Generated include files
#
include/config
S
Sam Ravnborg 已提交
93
include/generated
94
include/ksym
S
Sam Ravnborg 已提交
95
arch/*/include/generated
L
Linus Torvalds 已提交
96

97 98
# stgit generated dirs
patches-*
Q
Qi Yong 已提交
99 100 101 102

# quilt's files
patches
series
103 104 105

# cscope files
cscope.*
J
Jike Song 已提交
106
ncscope.*
A
Alexey Dobriyan 已提交
107

108 109 110 111 112 113
# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

A
Andi Kleen 已提交
114 115 116
# id-utils files
ID

A
Alexey Dobriyan 已提交
117
*.orig
118 119
*~
\#*#
120 121 122 123 124

#
# Leavings from module signing
#
extra_certificates
125
signing_key.pem
126 127 128
signing_key.priv
signing_key.x509
x509.genkey
B
Borislav Petkov 已提交
129 130 131

# Kconfig presets
all.config
132 133 134

# Kdevelop4
*.kdev4