Commit d4b61b32 authored by Eric Rosenberg's avatar Eric Rosenberg Committed by Marcel Amirault

Update doc/ci/git_submodules.md

parent ee36eb85
...@@ -64,3 +64,14 @@ If you use the [`CI_JOB_TOKEN`](jobs/ci_job_token.md) to clone a submodule in a ...@@ -64,3 +64,14 @@ If you use the [`CI_JOB_TOKEN`](jobs/ci_job_token.md) to clone a submodule in a
pipeline job, the user executing the job must be assigned to a role that has pipeline job, the user executing the job must be assigned to a role that has
[permission](../user/permissions.md#gitlab-cicd-permissions) to trigger a pipeline [permission](../user/permissions.md#gitlab-cicd-permissions) to trigger a pipeline
in the upstream submodule project. in the upstream submodule project.
## Troubleshooting
### Can't find the `.gitmodules` file
The `.gitmodules` file might be hard to find because it is usually a hidden file.
You can check documentation for your specific OS to learn how to find and display
hidden files.
If there is no `.gitmodules` file, it's possible the submodule settings are in a
[gitconfig](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config) file.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment