linux/.gitignore
<<
>>
Prefs
   1#
   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#
   6# NOTE! Please use 'git ls-files -i --exclude-standard'
   7# command after changing this file, to see if there are
   8# any tracked files which get ignored after the change.
   9#
  10# Normal rules
  11#
  12.*
  13*.o
  14*.o.*
  15*.a
  16*.s
  17*.ko
  18*.so
  19*.so.dbg
  20*.mod.c
  21*.i
  22*.lst
  23*.symtypes
  24*.order
  25*.elf
  26*.bin
  27*.tar
  28*.gz
  29*.bz2
  30*.lzma
  31*.xz
  32*.lz4
  33*.lzo
  34*.patch
  35*.gcno
  36*.ll
  37modules.builtin
  38Module.symvers
  39*.dwo
  40*.su
  41*.c.[012]*.*
  42
  43#
  44# Top-level generic files
  45#
  46/tags
  47/TAGS
  48/linux
  49/vmlinux
  50/vmlinux.32
  51/vmlinux-gdb.py
  52/vmlinuz
  53/System.map
  54/Module.markers
  55
  56#
  57# Debian directory (make deb-pkg)
  58#
  59/debian/
  60
  61#
  62# tar directory (make tar*-pkg)
  63#
  64/tar-install/
  65
  66#
  67# git files that we don't want to ignore even if they are dot-files
  68#
  69!.gitignore
  70!.mailmap
  71!.cocciconfig
  72
  73#
  74# Generated include files
  75#
  76include/config
  77include/generated
  78arch/*/include/generated
  79
  80# stgit generated dirs
  81patches-*
  82
  83# quilt's files
  84patches
  85series
  86
  87# cscope files
  88cscope.*
  89ncscope.*
  90
  91# gnu global files
  92GPATH
  93GRTAGS
  94GSYMS
  95GTAGS
  96
  97# id-utils files
  98ID
  99
 100*.orig
 101*~
 102\#*#
 103
 104#
 105# Leavings from module signing
 106#
 107extra_certificates
 108signing_key.pem
 109signing_key.priv
 110signing_key.x509
 111x509.genkey
 112
 113# Kconfig presets
 114all.config
 115
 116# Kdevelop4
 117*.kdev4
 118