blob: 705e09913dc237cd4eb79e269bc1a0d83ea52d99 [file] [log] [blame]
Linus Torvalds1e651742005-10-18 08:26:15 -07001#
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#
Matt Kraaiff2f5ff2009-06-04 21:43:10 -07006# NOTE! Please use 'git ls-files -i --exclude-standard'
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +03007# command after changing this file, to see if there are
8# any tracked files which get ignored after the change.
9#
Masahiro Yamada1377dd32017-10-31 00:33:45 +090010# Normal rules (sorted alphabetically)
Linus Torvalds1e651742005-10-18 08:26:15 -070011#
12.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090013*.a
14*.bin
15*.bz2
16*.c.[012]*.*
Masahiro Yamada10b62a22017-10-31 00:33:46 +090017*.dtb
18*.dtb.S
Masahiro Yamada1377dd32017-10-31 00:33:45 +090019*.dwo
20*.elf
21*.gcno
22*.gz
23*.i
24*.ko
25*.ll
26*.lst
27*.lz4
28*.lzma
29*.lzo
30*.mod.c
Linus Torvalds1e651742005-10-18 08:26:15 -070031*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070032*.o.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090033*.order
34*.patch
Linus Torvalds1e651742005-10-18 08:26:15 -070035*.s
Brian Gerst20ede272006-01-05 12:10:52 -050036*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020037*.so.dbg
Rasmus Villemoese2557282015-08-20 11:53:28 +020038*.su
Masahiro Yamada1377dd32017-10-31 00:33:45 +090039*.symtypes
40*.tar
41*.xz
42Module.symvers
43modules.builtin
Linus Torvalds1e651742005-10-18 08:26:15 -070044
45#
46# Top-level generic files
47#
Linus Torvalds6db823c2010-03-12 16:30:23 -080048/tags
49/TAGS
50/linux
51/vmlinux
Florian Fainellid0fe1162015-04-24 10:27:40 -070052/vmlinux.32
Daniel Thompson2478a8a2015-02-17 13:47:38 -080053/vmlinux-gdb.py
Linus Torvalds6db823c2010-03-12 16:30:23 -080054/vmlinuz
55/System.map
56/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080057
58#
Masahiro Yamadaaf60e202017-09-30 10:10:10 +090059# RPM spec file (make rpm-pkg)
60#
61/*.spec
62
63#
Greg Dietscheb7568282011-06-30 18:42:50 -050064# Debian directory (make deb-pkg)
65#
66/debian/
67
68#
Paolo Pisati5704d452017-11-27 12:07:34 +010069# Snap directory (make snap-pkg)
70#
71/snap/
72
73#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080074# tar directory (make tar*-pkg)
75#
76/tar-install/
77
78#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090079# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080080#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040081!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030082!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070083!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070084
85#
86# Generated include files
87#
Linus Torvalds1e651742005-10-18 08:26:15 -070088include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020089include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020090arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070091
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030092# stgit generated dirs
93patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080094
95# quilt's files
96patches
97series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080098
99# cscope files
100cscope.*
Jike Song9723c042008-05-22 09:23:10 +0800101ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700102
Jani Nikulaf2ac5e72009-06-11 12:21:47 +0300103# gnu global files
104GPATH
105GRTAGS
106GSYMS
107GTAGS
108
Andi Kleena37161c2015-04-16 14:02:41 -0700109# id-utils files
110ID
111
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700112*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800113*~
114\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100115
116#
117# Leavings from module signing
118#
119extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100120signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100121signing_key.priv
122signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100123x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800124
125# Kconfig presets
126all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200127
128# Kdevelop4
129*.kdev4