Help Center/ CodeArts Build/ FAQs/ Fetching Code/ Git Does Not Pull Submodules
Updated on 2023-12-05 GMT+08:00

Git Does Not Pull Submodules

Symptoms

When CodeArts Build pulls code from Repo, GitHub, and other sources, the .gitmodules file exists and the configuration is correct, but the sub-module is not pulled.

Cause Analysis

Generally, this problem occurs because the automatic update function of the submodule is disabled.

Solution

Edit the build task file, select the Configure Code Download build action, and enable Auto Update for submodules.