From the docs for Git Ignore
A leading slash matches the beginning of the pathname.
For example, /*.c
matches cat-file.c
but not mozilla-sha1/sha1.c
.
Try changing vendor/
to /vendor/
From the docs for Git Ignore
A leading slash matches the beginning of the pathname.
For example, /*.c
matches cat-file.c
but not mozilla-sha1/sha1.c
.
Try changing vendor/
to /vendor/