blob: 9ac91060ea6437322d2ac112fe1d9f51d50981f1 [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#
Linus Torvalds1e651742005-10-18 08:26:15 -070010# Normal rules
11#
12.*
13*.o
Alexey Dobriyan96918a32007-07-31 00:37:25 -070014*.o.*
Linus Torvalds1e651742005-10-18 08:26:15 -070015*.a
16*.s
17*.ko
Brian Gerst20ede272006-01-05 12:10:52 -050018*.so
Thomas Gleixnerf3227272007-10-19 20:35:02 +020019*.so.dbg
Linus Torvalds1e651742005-10-18 08:26:15 -070020*.mod.c
Josh Triplett0f71a372006-09-16 12:15:42 -070021*.i
Josh Triplett87dedbd2006-09-16 12:15:43 -070022*.lst
Josh Triplettac3b7192006-09-16 12:15:44 -070023*.symtypes
Sam Ravnborgc6025f42007-12-31 14:26:12 +010024*.order
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030025*.elf
26*.bin
27*.gz
Gertjan van Wingerdee3a41d72009-11-24 06:34:03 +010028*.bz2
Arne Janbu3f8d9ce2009-06-10 18:25:10 +020029*.lzma
Romain Francoise790e10b2011-02-22 10:48:06 +010030*.xz
Markus Trippelsdorf4e505292013-07-31 13:53:33 -070031*.lz4
Philipp Kohlbecher52b80022010-03-17 19:52:12 +010032*.lzo
Mike Frysinger35763e82009-05-26 19:37:54 -040033*.patch
Amerigo Wang7a6b1f12009-06-22 17:18:32 +080034*.gcno
Zhao, Gang082722a2014-04-14 14:56:15 +080035modules.builtin
36Module.symvers
Andi Kleen866ced92014-07-30 20:50:18 +020037*.dwo
Linus Torvalds1e651742005-10-18 08:26:15 -070038
39#
40# Top-level generic files
41#
Linus Torvalds6db823c2010-03-12 16:30:23 -080042/tags
43/TAGS
44/linux
45/vmlinux
46/vmlinuz
47/System.map
48/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080049
50#
Greg Dietscheb7568282011-06-30 18:42:50 -050051# Debian directory (make deb-pkg)
52#
53/debian/
54
55#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080056# tar directory (make tar*-pkg)
57#
58/tar-install/
59
60#
Linus Torvalds6db823c2010-03-12 16:30:23 -080061# git files that we don't want to ignore even it they are dot-files
62#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040063!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030064!.mailmap
Linus Torvalds1e651742005-10-18 08:26:15 -070065
66#
67# Generated include files
68#
Linus Torvalds1e651742005-10-18 08:26:15 -070069include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020070include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020071arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070072
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030073# stgit generated dirs
74patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080075
76# quilt's files
77patches
78series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080079
80# cscope files
81cscope.*
Jike Song9723c042008-05-22 09:23:10 +080082ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070083
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030084# gnu global files
85GPATH
86GRTAGS
87GSYMS
88GTAGS
89
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070090*.orig
Chris Dearman70886552008-03-04 14:28:59 -080091*~
92\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +010093
94#
95# Leavings from module signing
96#
97extra_certificates
98signing_key.priv
99signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100100x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800101
102# Kconfig presets
103all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200104
105# Kdevelop4
106*.kdev4