How To Instruct Glitch To Hide Specific Files?

While files specified in the .gitignore file for my project are correctly being hidden in the side panel, they are being included when the project is remixed.

Our command line utility generates config files which store authentication information and we ignore these files with our .gitignore so that this information doesn’t end up in GitHub, but these files are still being copied.

Can the .gitignore file be used to exclude files copied in a remix? Or is there another way to exclude them?

Example Project: rustic-honey

1 Like

If possible, I suggest outputting the generated config files to a folder called .data. The .data directory on Glitch is automatically .gitignored and provides exactly what you need - it hides files from the editor and the files it contains aren’t copied when remixing.