Ci takes too much time get repo with git fetch

my ci jobs tooks 45s total . and 40s is to get the git repo.
and i dont konw why so slow.

Hey @liuxc, welcome to the GitLab Forum!

If you have a large repository, adjusting the GIT_DEPTH from the default of 50 to 10 for example will help speed up the clone in your job. See shallow cloning in our documentation for more information on this.

Other factors such as network latency might also be affecting your clone speed.

thanks you!
i tryed adjusting the GIT_DEPTH and it is helpful.