blob: f6050b88e95b5b59e2c08dbef865d92049956e58 [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#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080069# tar directory (make tar*-pkg)
70#
71/tar-install/
72
73#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090074# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080075#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040076!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030077!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070078!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070079
80#
81# Generated include files
82#
Linus Torvalds1e651742005-10-18 08:26:15 -070083include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020084include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020085arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070086
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030087# stgit generated dirs
88patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080089
90# quilt's files
91patches
92series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080093
94# cscope files
95cscope.*
Jike Song9723c042008-05-22 09:23:10 +080096ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070097
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030098# gnu global files
99GPATH
100GRTAGS
101GSYMS
102GTAGS
103
Andi Kleena37161c2015-04-16 14:02:41 -0700104# id-utils files
105ID
106
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700107*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800108*~
109\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100110
111#
112# Leavings from module signing
113#
114extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100115signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100116signing_key.priv
117signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100118x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800119
120# Kconfig presets
121all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200122
123# Kdevelop4
124*.kdev4