78 words
1 minutes
260101_Cpp_gitignore
2026-01-01

.gitignore(C++)#

# General(macOS)
.DS_Store

# build files
target
build
justfile

# 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.order
Module.symvers
Mkfile.old
dkms.conf

# debug information files
*.dwo
260101_Cpp_gitignore
https://younghakim7.github.io/blog/posts/260101_cpp_gitignore/
Author
YoungHa
Published at
2026-01-01