Forum Discussion
lukaszdudziak
Jul 14, 2024Brass Contributor
gitignore configuration for Mesh projects
I've noticed that some files are created in the Assets folder during the build. Is it safe to put those folders to gitignore to not keep them in the repo (they can be like 50-100MB files)?
Do you have any other advice on which files can also be ignored?
Hey Lukas!
Yes, "Temp" directory is safe to add to gitignore.
Currently we don't provide an exhaustive "template" of a gitignore for unity projects using Mesh Toolkit, because some auto-generated files may be useful to version control in some cases: for example auto-generated thumbnails can be version controlled to capture evolution of the scene over time, but it is not essential to do so.
However here we have gitignore for our sample projects which filters out some of auto-generated files (e.g. Temp directories): https://github.com/microsoft/Mesh-Toolkit-Unity/blob/main/.gitignore
- Anton_Zachesov
Microsoft
Hey Lukas!
Yes, "Temp" directory is safe to add to gitignore.
Currently we don't provide an exhaustive "template" of a gitignore for unity projects using Mesh Toolkit, because some auto-generated files may be useful to version control in some cases: for example auto-generated thumbnails can be version controlled to capture evolution of the scene over time, but it is not essential to do so.
However here we have gitignore for our sample projects which filters out some of auto-generated files (e.g. Temp directories): https://github.com/microsoft/Mesh-Toolkit-Unity/blob/main/.gitignore - Milena_Paumen
Microsoft
Hi Lukas, let me come back to you on this.