Scr*_*ave 5 php mercurial hgignore laravel laravel-5
使用Laravel 5.x. 或
5.1.x.hgignore文件的基本推荐配置是什么?
从.gitignore拉出这就是我所拥有的:
syntax: glob
.env
.gitignore
.gitattributes
.idea
vendor/
node_modules/
Homestead.yaml
Homestead.json
Run Code Online (Sandbox Code Playgroud)
在线我看到版本4关于/bootstrap/compiled.php的东西
我应该包含/ bootstrap/cache吗?
我使用负向前视来包含空文件夹结构:
## Laravel specific
^\.env$
^vendor
## General
\.DS_Store$
[Tt]humbs\.db$
## Keep these folders, but ignore their content
^bootstrap/cache/(?!\.gitignore).+$
^storage/logs/(?!\.gitignore).+$
^storage/app/(?!\.gitignore).+$
^storage/framework/views/(?!\.gitignore).+$
^storage/framework/sessions/(?!\.gitignore).+$
^storage/framework/cache/(?!\.gitignore).+$
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
933 次 |
| 最近记录: |