xv6, line by line
.gitignore

.gitignore

text · 12 lines · annotated 100% · upstream

About this file

Tells git which files to ignore: everything the build produces, so that git status shows only files you actually edited, and nobody commits a compiled kernel or a disk image by accident. Each line is a pattern. A pattern without a / matches a file of that name in any directory; a leading / anchors the pattern to the top of the repository; * matches any characters.

The list mirrors what make clean deletes (Makefile:159).

1*~
2_*
3*.o
4*.d
5*.asm
6*.sym
7*.img
8/mkfs/mkfs
9/kernel/kernel
10/user/usys.S
11.gdbinit
12TAGS