From the docs for Git Ignore
A leading slash matches the beginning of the pathname. For example,
/*.c
matchescat-file.c
but notmozilla-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
matchescat-file.c
but notmozilla-sha1/sha1.c
.
Try changing vendor/
to /vendor/