G
G
Glory2021-12-24 12:07:07
Laravel
Glory, 2021-12-24 12:07:07

How to make sure that after the update, a symbolic link to storage does not fly from git?

Question for those who use the Laravel framework.
Have you ever pushed the next commits from the local repository to git and then did a git pull on the server and the symbolic link to the repository falls off?

I have to run the php artisan storage:link command every time ,

but how can I avoid this? what should i add to gitignore?

/storage/app/public/

?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question