mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-01 16:04:19 +00:00
1.3 KiB
1.3 KiB
stage, group, info, title
stage | group | info | title |
---|---|---|---|
AI-powered | Code Creation | To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments | Control GitLab Duo context exclusion |
Exclude context from GitLab Duo
{{< history >}}
- Introduced in GitLab 18.1 with a flag named
use_duo_context_exclusion
. Disabled by default.
{{< /history >}}
You can control which project content is included as context for GitLab Duo. Use this to protect sensitive information such as password files and configuration files.
Manage GitLab Duo context exclusions
- On the left sidebar, select Search or go to and find your project.
- Select Settings > General.
- Expand Visibility, project features, permissions.
- Under GitLab Duo, in the GitLab Duo Content Exclusions section, select Manage exclusions.
- Specify which project files and directories are excluded from GitLab Duo context, and select Save exclusions.
- Optional. To delete an existing exclusion, select Delete ({{< icon name="remove" >}}) for the appropriate exclusion.
- Select Save changes.