Skip to content

Instantly share code, notes, and snippets.

@acacha
Last active January 29, 2020 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acacha/b0787433111995f66213854697c6faf2 to your computer and use it in GitHub Desktop.
Save acacha/b0787433111995f66213854697c6faf2 to your computer and use it in GitHub Desktop.
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