Universal Code Search for GitLab


Sourcegraph Universal Code Search enables developers to explore and better understand all code, faster, with contextual code intelligence.

This screencast (with accompanying audio) shows how to connect and configure Sourcegraph Universal Code Search for public and private repositories on GitLab CE/EE instances.

In addition to configuring the Sourcegraph-GitLab connection, the screencast discusses important factors for determining which repositories Sourcegraph will index, such as excluding archived and forked repositories, and optionally excluding repositories based on naming patterns (e.g., deploy-).

View on YouTube

See the Sourcegraph GitLab documentation for full configuration options, including enabling repository permissions.

The Python script used to generate the list of repositories to ignore is available as a GitLab Snippet.

Try Sourcegraph now

Explore, navigate, and better understand all code, everywhere, faster, with Universal Code Search