blob: 038ae7a397cd7da8701fa897d0290890c782f28a [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
Andrey Skvortsovf4ae9492015-04-16 12:49:24 -070027*.tar
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030028*.gz
Gertjan van Wingerdee3a41d72009-11-24 06:34:03 +010029*.bz2
Arne Janbu3f8d9ce2009-06-10 18:25:10 +020030*.lzma
Romain Francoise790e10b2011-02-22 10:48:06 +010031*.xz
Markus Trippelsdorf4e505292013-07-31 13:53:33 -070032*.lz4
Philipp Kohlbecher52b80022010-03-17 19:52:12 +010033*.lzo
Mike Frysinger35763e82009-05-26 19:37:54 -040034*.patch
Amerigo Wang7a6b1f12009-06-22 17:18:32 +080035*.gcno
Zhao, Gang082722a2014-04-14 14:56:15 +080036modules.builtin
37Module.symvers
Andi Kleen866ced92014-07-30 20:50:18 +020038*.dwo
Rasmus Villemoese2557282015-08-20 11:53:28 +020039*.su
Linus Torvalds1e651742005-10-18 08:26:15 -070040
41#
42# Top-level generic files
43#
Linus Torvalds6db823c2010-03-12 16:30:23 -080044/tags
45/TAGS
46/linux
47/vmlinux
Florian Fainellid0fe1162015-04-24 10:27:40 -070048/vmlinux.32
Daniel Thompson2478a8a2015-02-17 13:47:38 -080049/vmlinux-gdb.py
Linus Torvalds6db823c2010-03-12 16:30:23 -080050/vmlinuz
51/System.map
52/Module.markers
Linus Torvalds6db823c2010-03-12 16:30:23 -080053
54#
Greg Dietscheb7568282011-06-30 18:42:50 -050055# Debian directory (make deb-pkg)
56#
57/debian/
58
59#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080060# tar directory (make tar*-pkg)
61#
62/tar-install/
63
64#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090065# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080066#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040067!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030068!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070069!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070070
71#
72# Generated include files
73#
Linus Torvalds1e651742005-10-18 08:26:15 -070074include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020075include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020076arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070077
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030078# stgit generated dirs
79patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080080
81# quilt's files
82patches
83series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080084
85# cscope files
86cscope.*
Jike Song9723c042008-05-22 09:23:10 +080087ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070088
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030089# gnu global files
90GPATH
91GRTAGS
92GSYMS
93GTAGS
94
Andi Kleena37161c2015-04-16 14:02:41 -070095# id-utils files
96ID
97
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070098*.orig
Chris Dearman70886552008-03-04 14:28:59 -080099*~
100\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100101
102#
103# Leavings from module signing
104#
105extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100106signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100107signing_key.priv
108signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100109x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800110
111# Kconfig presets
112all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200113
114# Kdevelop4
115*.kdev4