Choose a Git Executable
Unity Build Automation supports selecting the Git Executable for your build to use if you use a Windows operating system.
Git Executable options
Unity Build Automation currently supports the following Git executable options for Windows operating systems:
- Native
- Cygwin
Native
If you choose this option, builds running on Windows operating system will use the Windows native Git client to clone your source code. This is the default and recommended option for new projects and using this option, the clone performance tend to improve the bigger your repository size is.
Cygwin
If you choose this option, builds running on Windows operating system will use a Cygwin Git client, and it's recommended for better compatibility with Linux and macOS Git setups. It's also recommended if you are using Linux-based symlinks in your repository.
Configure Git Executable
You can configure your Windows Git Executable at two levels: for a specific project, or for a build target configuration.
Configure the Git Executable for a project
- In your Unity Cloud dashboard, select DevOps > Build Automation > Settings.
- Select Source Control.
- If your SCM is Git, select the Git Executable you want to use.
- Select Save.
Configure your Git Executable for a Build Target Configuration
Note: This option overrides the project level Git Executable setting.
- In your Unity Cloud dashboard, select DevOps > Build Automation > Configurations.
- Select the edit icon on the build configuration you want to edit and go to Advanced Settings.
- If your SCM is Git and your operating system is Windows, you will be able to select the Git Executable.
- The default option is Inherit, which will inherit the option from your project settings, but you can override this setting for the build target you are editing.
- Select Save changes.