QuentinWatt's avatar

I'm trying to find out why extra .scss files placed in the same directory as app.scss are gitignored?

Does anyone know what file, or what rule in my .gitignore file is ignoring new files added to this directory?

My file structure is like this

resources/assets/sass/

app.scss // not ignored by git
buttons.scss // ignored by git but I don't know why
offcanvass.scss // ignored by git but I don't know why

This mixes perfectly fine when I have the files, but the sass files are simply not committed to the rep which is an issue for the next developer.

0 likes
1 reply
QuentinWatt's avatar
QuentinWatt
OP
Best Answer
Level 3

I worked around the problem by creating a new directory.

resources/assets/sass/custom/

Then adding this line to my main .gitingore file.

!/resources/assets/sass/custom/*

Please or to participate in this conversation.