blob: 435eeeb81efa3d3dd3b1c80f7a8b41b2d0494fd2 [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]*.*
17*.dwo
18*.elf
19*.gcno
20*.gz
21*.i
22*.ko
23*.ll
24*.lst
25*.lz4
26*.lzma
27*.lzo
28*.mod.c
Linus Torvalds1e651742005-10-18 08:26:15 -070029*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070030*.o.*
Masahiro Yamada1377dd32017-10-31 00:33:45 +090031*.order
32*.patch
Linus Torvalds1e651742005-10-18 08:26:15 -070033*.s
Brian Gerst20ede272006-01-05 12:10:52 -050034*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020035*.so.dbg
Rasmus Villemoese2557282015-08-20 11:53:28 +020036*.su
Masahiro Yamada1377dd32017-10-31 00:33:45 +090037*.symtypes
38*.tar
39*.xz
40Module.symvers
41modules.builtin
Linus Torvalds1e651742005-10-18 08:26:15 -070042
43#
44# Top-level generic files
45#
Linus Torvalds6db823c2010-03-12 16:30:23 -080046/tags
47/TAGS
48/linux
49/vmlinux
Florian Fainellid0fe1162015-04-24 10:27:40 -070050/vmlinux.32
Daniel Thompson2478a8a2015-02-17 13:47:38 -080051/vmlinux-gdb.py
Linus Torvalds6db823c2010-03-12 16:30:23 -080052/vmlinuz
53/System.map
54/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080055
56#
Greg Dietscheb7568282011-06-30 18:42:50 -050057# Debian directory (make deb-pkg)
58#
59/debian/
60
61#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080062# tar directory (make tar*-pkg)
63#
64/tar-install/
65
66#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090067# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080068#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040069!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030070!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070071!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070072
73#
74# Generated include files
75#
Linus Torvalds1e651742005-10-18 08:26:15 -070076include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020077include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020078arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070079
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030080# stgit generated dirs
81patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080082
83# quilt's files
84patches
85series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080086
87# cscope files
88cscope.*
Jike Song9723c042008-05-22 09:23:10 +080089ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070090
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030091# gnu global files
92GPATH
93GRTAGS
94GSYMS
95GTAGS
96
Andi Kleena37161c2015-04-16 14:02:41 -070097# id-utils files
98ID
99
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700100*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800101*~
102\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100103
104#
105# Leavings from module signing
106#
107extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100108signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100109signing_key.priv
110signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100111x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800112
113# Kconfig presets
114all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200115
116# Kdevelop4
117*.kdev4