I'm having a bit of stress with the opencart checked.cache file that every update asks for to do an add / commit / push and every time it has to be done I have headaches with conflicts and so on. Should I add this file to my .gitignore
?
I'm having a bit of stress with the opencart checked.cache file that every update asks for to do an add / commit / push and every time it has to be done I have headaches with conflicts and so on. Should I add this file to my .gitignore
?
Add in your file .gitignore
:
*/checked.cache # elimina somente arquivos com este nome
*.cache # elimina todos os arquivos .cache
If you have already committed a file you do not want, it will not do any good to just add it to .gitignore
. You will have to remove the file, commit the deletion, and additionally add the filename in .gitignore.