Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best Practice Laravel gitignore

Tags:

I want to ask about best practice for Laravel.

I use gulp for my js and css. Which one should i include on push at the asset folder (use "gulp" on server) or public folder (gulp result)?

like image 340
ssuhat Avatar asked Sep 21 '15 06:09

ssuhat


1 Answers

First, you can add Laravel default .gitignore content: https://github.com/laravel/laravel/blob/master/.gitignore

And add your js,css directory to .gitignore like this:

/public/css /public/js 

Check it:

cat .gitignore  /vendor /node_modules Homestead.yaml Homestead.json .env /public/css/ /public/js/ 
like image 127
Hiram Avatar answered Oct 18 '22 01:10

Hiram