Updated on 2026-01-08 GMT+08:00

Git Does Not Pull Submodules

Symptoms

When CodeArts Build pulls code from Repo, 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.