mirror of
https://github.com/github/gitignore
synced 2024-11-05 03:18:51 +01:00
67aa0dca06
In Laravel, we often use `artisan vendor:publish` to copy views, notifications etc from dependencies so that they can be customized. These views are created in <type>/vendor/<dependency> directory. When using the current gitignore for Laravel, vendor is inserted like vendor/ which ignores all the directories named vendor anywhere in the source tree, including the customized views. The proposed file change tries to fix this problem by ensuring only the root vendor directory is ignored by git.
18 lines
225 B
Plaintext
18 lines
225 B
Plaintext
/vendor/
|
|
node_modules/
|
|
npm-debug.log
|
|
yarn-error.log
|
|
|
|
# Laravel 4 specific
|
|
bootstrap/compiled.php
|
|
app/storage/
|
|
|
|
# Laravel 5 & Lumen specific
|
|
public/storage
|
|
public/hot
|
|
storage/*.key
|
|
.env
|
|
Homestead.yaml
|
|
Homestead.json
|
|
/.vagrant
|