exc/.gitignore

21 lines
304 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