exc/.gitignore

33 lines
535 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
# 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