I work on a Laravel project.
When I'm in master branch and I checkout to another branch I get this message :
$ git checkout 34-my-new-branch
er...
For further actions, you may consider blocking this person and/or reporting abuse
Add a
.gitignoretostorage/frameworkwith the following content:Those are compiled views and should never be committed in the first place, so you can safely remove them by then typing
git rm -r --cached storage/framework/*.Then commit.
my current .gitignore is like :
`
What should I add exactly ?
and then run
git rm -r --cached storage/framework/*Not wrong. But also not what I said.
In case Mostafa didn’t know, it’s entire possible and legal to have multiple .gitignore files.
Possible, but from my personal experience it is better to have a single
.gitignorefile to rule them all 🙂Please re-read my comment, as I explained exactly what you need to do to fix this.
In case you didn’t know, it’s completely fine to have multiple .gitignore files.
okay Thanks RVxLab