# Git and FMOD

**URL:** <https://qa.fmod.com/t/git-and-fmod/22503>\
**Category:** FMOD Studio\
**Created:** [January 14, 2025, 11:07pm UTC](https://qa.fmod.com/t/git-and-fmod/22503 "2025-01-14T23:07:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VoodooDetective](https://avatars.discourse-cdn.com/v4/letter/v/ecc23a/32.png) [@VoodooDetective](https://qa.fmod.com/u/VoodooDetective)\
**Post date:** [January 14, 2025, 11:07pm UTC](https://qa.fmod.com/t/git-and-fmod/22503/1 "2025-01-14T23:07:15Z")

</div>

We’d like to use git for our FMOD studio project. Are there any files we should add to gitignore? For instance, the .cache folder?

---

<div class="post-metadata">

**Author:** ![Alec\_PS](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@Alec\_PS](https://qa.fmod.com/u/Alec_PS)\
**Post date:** [January 15, 2025, 2:24am UTC](https://qa.fmod.com/t/git-and-fmod/22503/2 "2025-01-15T02:24:14Z")

</div>

Hi mate,  
This link goes to Fmods guidelines on source control, give this a read 🙂  
[https://www.fmod.com/docs/2.03/studio/using-source-control.html](https://www.fmod.com/docs/2.03/studio/using-source-control.html)

TLDR follow the photo below.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/optimized/2X/f/fbc0d3e26f997311911f43c1184d230a3dee60de_2_690x72.png)

---

<div class="post-metadata">

**Author:** ![li\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/li_fmod/32/6577_2.png) [@li\_fmod](https://qa.fmod.com/u/li_fmod)\
**Post date:** [January 15, 2025, 2:29am UTC](https://qa.fmod.com/t/git-and-fmod/22503/3 "2025-01-15T02:29:57Z")

</div>

Hi,

> [@VoodooDetective](#):
>
> Are there any files we should add to gitignore? For instance, the .cache folder?

Yes, the .cache folder should be added to git ignore as it is updated locally.

Here is an example `.gitignore` file recommended for Unity projects using FMOD, which can serve as a good reference :

```auto
# Never ignore DLLs in the FMOD subfolder.
!/[Aa]ssets/Plugins/FMOD/**/lib/*

# Don't ignore images and gizmos used by FMOD in the Unity Editor.
!/[Aa]ssets/Gizmos/FMOD/*
!/[Aa]ssets/Editor Default Resources/FMOD/*

# Ignore the Cache folder since it is updated locally.
/[Aa]ssets/Plugins/FMOD/Cache/*

# Ignore bank files in the StreamingAssets folder.
/[Aa]ssets/StreamingAssets/**/*.bank
/[Aa]ssets/StreamingAssets/**/*.bank.meta
# If the source bank files are kept outside of the StreamingAssets folder then these can be ignored.

# Log files can be ignored.
fmod_editor.log

```

For more details, please refer to the [source control documentation](https://www.fmod.com/docs/2.03/unity/user-guide.html#using-source-control)

Hope this helps, let me know if you have questions.
