blob: 6c119eab5d46921575fe606e9fe362ab5190791e [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#
Greg Dietscheb7568282011-06-30 18:42:50 -050059# Debian directory (make deb-pkg)
60#
61/debian/
62
63#
Andrey Skvortsovdd10ca62015-02-12 15:01:19 -080064# tar directory (make tar*-pkg)
65#
66/tar-install/
67
68#
Kyeongmin Cho52bbe142016-04-28 02:06:49 +090069# git files that we don't want to ignore even if they are dot-files
Linus Torvalds6db823c2010-03-12 16:30:23 -080070#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040071!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030072!.mailmap
Luis R. Rodriguezdd951fc2016-06-29 15:14:56 -070073!.cocciconfig
Linus Torvalds1e651742005-10-18 08:26:15 -070074
75#
76# Generated include files
77#
Linus Torvalds1e651742005-10-18 08:26:15 -070078include/config
Sam Ravnborgf14875a2009-04-18 23:51:08 +020079include/generated
Sam Ravnborgd8ecc5c2011-04-27 22:29:49 +020080arch/*/include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070081
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030082# stgit generated dirs
83patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080084
85# quilt's files
86patches
87series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080088
89# cscope files
90cscope.*
Jike Song9723c042008-05-22 09:23:10 +080091ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070092
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030093# gnu global files
94GPATH
95GRTAGS
96GSYMS
97GTAGS
98
Andi Kleena37161c2015-04-16 14:02:41 -070099# id-utils files
100ID
101
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -0700102*.orig
Chris Dearman70886552008-03-04 14:28:59 -0800103*~
104\#*#
David Howellsaddbcdb2012-09-26 10:09:50 +0100105
106#
107# Leavings from module signing
108#
109extra_certificates
David Woodhousefb117942015-07-20 21:16:30 +0100110signing_key.pem
David Howellsaddbcdb2012-09-26 10:09:50 +0100111signing_key.priv
112signing_key.x509
David Howellsaddbcdb2012-09-26 10:09:50 +0100113x509.genkey
Borislav Petkov25fba9b2014-02-10 14:25:45 -0800114
115# Kconfig presets
116all.config
Boaz Harroshdfe04872014-11-25 18:42:54 +0200117
118# Kdevelop4
119*.kdev4