language36 active rulesVerified 2026-09-30
C .gitignore Template
C compiled object files, executables, libraries, and debug symbols. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with C/
Search for templates
Quick add:
Selected1
C
Selected Templates (1)
C
language
C compiled object files, executables, libraries, and debug symbols
#c#c-lang#clang
.gitignore
36 rules•1 template
### C #### Prerequisites*.d # Object files*.o*.ko*.obj*.elf # Linker output*.ilk*.map*.exp # Precompiled Headers*.gch*.pch # Libraries*.lib*.a*.la*.lo # Shared objects (inc. Windows DLLs)*.dll*.so*.so.**.dylib # Executables*.exe*.out*.app*.i*86*.x86_64*.hex # Debug files*.dSYM/*.su*.idb*.pdb # Kernel Module Compile Results*.mod**.cmd.tmp_versions/modules.orderModule.symversMkfile.olddkms.conf # debug information files*.dwo 57 lines•UTF-8•LF
Deterministic
Raw C .gitignore
Crawlable upstream source templatec.gitignore•56 lines•UTF-8
# Prerequisites*.d # Object files*.o*.ko*.obj*.elf # Linker output*.ilk*.map*.exp # Precompiled Headers*.gch*.pch # Libraries*.lib*.a*.la*.lo # Shared objects (inc. Windows DLLs)*.dll*.so*.so.**.dylib # Executables*.exe*.out*.app*.i*86*.x86_64*.hex # Debug files*.dSYM/*.su*.idb*.pdb # Kernel Module Compile Results*.mod**.cmd.tmp_versions/modules.orderModule.symversMkfile.olddkms.conf # debug information files*.dwo Key Pattern Breakdown
Build Outputs & Compiled Artifacts
Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.
*.o*.obj*.a*.dll*.so*.so.*+2 more
Execution Caches & Runtime Logs
Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.
.tmp_versions/
Source & Verification
Source: GitHub gitignore (main)
License: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.