exc/.gitignore

37 lines
606 B
Plaintext
Raw Normal View History

2023-06-02 13:11:53 +02:00
# ------- main .gitgnore -------
# ignore everything
*
# except .gitignore
!.gitignore
2023-06-02 13:32:45 +02:00
# except license
!LICENSE
2023-06-02 13:37:16 +02:00
# except README.md
!README.md
2023-06-02 13:11:53 +02:00
# ------- k&r .gitignore -------
# except k&r
!k\&r/
# except chapters
!k\&r/[0-9]*/
2023-06-02 13:11:53 +02:00
# and excercise solutions
!k\&r/*/[0-9]*.c
!k\&r/*/[0-9]*/
!k\&r/*/[0-9]*/*.c
# do ignore _ prefixed files
k\&r/**/_*
2023-06-02 13:11:53 +02:00
# and header files
!k\&r/**/*.h
2023-07-12 21:38:31 +02:00
# ---- udemy c++ .gitignore ----
# except udemy cpp
!udemy-cpp/
2023-07-13 18:59:17 +02:00
# except chapters
2023-07-12 21:38:31 +02:00
!udemy-cpp/[0-9]*/
2023-07-13 18:59:17 +02:00
# except excersise solutions
!udemy-cpp/exc[0-9]*/
# except .cc files
!udemy-cpp/*/*.cc
# except .h files
!udemy-cpp/*/*.h