23 lines
282 B
Plaintext
23 lines
282 B
Plaintext
#.gitignore
|
|
|
|
# Step-1, track all files in the current folder
|
|
!*
|
|
|
|
# Step-2, track specified files in the current folder
|
|
*
|
|
!*/
|
|
!.gitignore
|
|
!*.mk
|
|
!Makefile
|
|
!*.lds
|
|
!*.h
|
|
!*.c
|
|
!*.s
|
|
!*.S
|
|
|
|
# Step-3, untrack all in sub folders, which use their own .gitignore
|
|
*/*
|
|
!driver/*
|
|
!rtthread-nano/*
|
|
|