Rectangle 27 0

php Gitignore Laravel vendor folder?


vendor/
!vendor/MyFolder

In a .gitignore you can use the ! operator to "unignore" files.

The following example will ignore everything in the vendor directory, but anything in vendor/MyFolder will be "unignored"

Note