exc/.gitignore

37 lines
606 B
Plaintext

# ------- main .gitgnore -------
# ignore everything
*
# except .gitignore
!.gitignore
# except license
!LICENSE
# except README.md
!README.md
# ------- k&r .gitignore -------
# except k&r
!k\&r/
# except chapters
!k\&r/[0-9]*/
# and excercise solutions
!k\&r/*/[0-9]*.c
!k\&r/*/[0-9]*/
!k\&r/*/[0-9]*/*.c
# do ignore _ prefixed files
k\&r/**/_*
# and header files
!k\&r/**/*.h
# ---- udemy c++ .gitignore ----
# except udemy cpp
!udemy-cpp/
# except chapters
!udemy-cpp/[0-9]*/
# except excersise solutions
!udemy-cpp/exc[0-9]*/
# except .cc files
!udemy-cpp/*/*.cc
# except .h files
!udemy-cpp/*/*.h