Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NOTA_SOBRE_LARAVEL_SCOUT_I_GITIGNORE

Si ja teniu el fitxer pujat a Github s'ha d'eliminar amb:

git rm --cached storage/channels.index
git add .
git commit -a -m "Sync"
git push origin master

Cada vegada que es modifica algún canal es modifica l'index de Laravel scout localitzat a storage/channels.index.

Cal ignorar aquest fitxers a git afegiu a gitignore:

/storage/*.index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment