blob: 5d56a3fd0de6b9d4d8acc0a26495bd24c489d31f [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 Dobriyan96918a352007-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 Triplett0f71a3732006-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
Michal Marekbc081dd2009-12-07 16:38:33 +010025modules.builtin
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030026*.elf
27*.bin
28*.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
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
Linus Torvalds1e651742005-10-18 08:26:15 -070035
36#
37# Top-level generic files
38#
Linus Torvalds6db823c2010-03-12 16:30:23 -080039/tags
40/TAGS
41/linux
42/vmlinux
43/vmlinuz
44/System.map
45/Module.markers
46/Module.symvers
47
48#
49# git files that we don't want to ignore even it they are dot-files
50#
Denis V. Lunev9e447a72007-10-16 11:22:21 +040051!.gitignore
Eduard - Gabriel Munteanuf72e9df2008-06-26 10:54:34 +030052!.mailmap
Linus Torvalds1e651742005-10-18 08:26:15 -070053
54#
55# Generated include files
56#
Linus Torvalds1e651742005-10-18 08:26:15 -070057include/config
Linus Torvalds1e651742005-10-18 08:26:15 -070058include/linux/version.h
Sam Ravnborgf14875a2009-04-18 23:51:08 +020059include/generated
Linus Torvalds1e651742005-10-18 08:26:15 -070060
Mauro Carvalho Chehab1d519602006-02-27 00:07:24 -030061# stgit generated dirs
62patches-*
Qi Yong8ccf2832006-07-17 13:37:06 +080063
64# quilt's files
65patches
66series
Tobias Klauser132e2bc2006-12-22 01:07:32 -080067
68# cscope files
69cscope.*
Jike Song9723c042008-05-22 09:23:10 +080070ncscope.*
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070071
Jani Nikulaf2ac5e72009-06-11 12:21:47 +030072# gnu global files
73GPATH
74GRTAGS
75GSYMS
76GTAGS
77
Alexey Dobriyan3f1b0e12007-07-15 23:41:52 -070078*.orig
Chris Dearman70886552008-03-04 14:28:59 -080079*~
80\#*#