Setting up a new laravel server I see that not all files are pushed.
I set up a bare repo, according to the instrctions in:https://devmarketer.io/learn/deploy-laravel-5-app-lemp-stack-ubuntu-nginx/ (step 11 and following)
The first time it pushed a lot of files.
The css and js files that were added to the /resources later, are not pushed anymore.
/resources is not in .gitignore, so they should be pushed.
They are there in the local repo, but not on the remote.
How can I solve this?
Can anyone help me ( noob, makes stupid errors) analyse the situation?
.gitignore:
/node_modules
/public/storage
/vendor
/.idea
Homestead.json
Homestead.yaml
.env
.*.swp
public/js
public/css
2
Answers
Solved:
Can anyone see what the problem was? I still do not understand what went wrong...
Files or folders listed in your .gitignore are ignored by git, therefore won’t be pushed into your remote repo. All other files should get pushed just fine.