Version Control Systems

Introduction

Project > Version Control.

Official Git plugin

here. Documentation on how to use the Git plugin can be found here.

Files to exclude from VCS

There are some folders Godot creates you should have your VCS ignore:

  • .import/: This folder stores all the files it imports automatically based on your source assets and their import flags.
  • *.translation: These files are binary imported translations generated from CSV files.
  • export_presets.cfg: This file contains all the export presets for the project, including sensitive information such as Android keystore credentials.
  • .mono/: This folder stores automatically-generated Mono files. It only exists in projects that use the Mono version of Godot.

    Working with Git on Windows

    core.autocrlf set to true. This can lead to files unnecessarily being marked as modified by Git due to their line endings being converted automatically. It is better to set this option as:
    1. git config --global core.autocrlf input