exc/.gitignore

29 lines
449 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/
# excpet chapters
!udemy-cpp/[0-9]*/
# except solutions
!udemy-cpp/*/[0-9]*.cc