---
title: "How can I use \"Analyzed branch or tag\" for connected repositories in the Ketryx project settings?"
description: "The Analyzed branch or tag setting allows you to restrict the path(s) within your repository that should be \"read\" by Ketryx. This setting applies to both dependency scanning and Git-based configuration items for the given repository."
category: "Frequently Asked Questions"
section: "Supply Chain Management Software Dependencies"
keywords: ["analyzed branch", "branch tag", "repositories settings", "connected repositories", "git based", "based configuration", "restrict", "repository"]
source_url: "https://support.ketryx.com/hc/en-us/articles/30924834051469-How-can-I-use-Analyzed-branch-or-tag-for-connected-repositories-in-the-Ketryx-project-settings"
last_reviewed: 2026-06-11
---

# How can I use "Analyzed branch or tag" for connected repositories in the Ketryx project settings?

> **In short:** The Analyzed branch or tag setting allows you to restrict the path(s) within your repository that should be "read" by Ketryx. This setting applies to both dependency scanning and Git-based configuration items for the given repository.

The Analyzed branch or tag setting allows you to restrict the path(s) within your repository that should be "read" by Ketryx. This setting applies to both dependency scanning and [Git-based configuration items](https://docs.ketryx.com/manuals/man-09-git-based-configuration-items) for the given repository. Where an analyzed branch or tag is given, only files on that branch or with that tag will be considered by Ketryx when generating the SBOM or creating Git-based configuration items.

If this is not specified, the default HEAD branch (usually called main or master) will be used.

It is possible to link the same repository multiple times to the same Ketryx project, and doing so with different, non-overlapping Analyzed branch or tag settings may fulfill some edge cases, especially when paired with differing glob patterns to restrict dependency or Git-based item file locations.

## Related articles

- [For mono repositories connecting to Ketryx, can you split depending on what module within a given mono repo?](for-mono-repositories-connecting-to-ketryx-can-you-split-depending-on-what.md)
- [Can I restrict which files from my repository are considered when Ketryx scans for dependencies?](can-i-restrict-which-files-from-my-repository-are-considered-when-ketryx-scans.md)
- [How can I use \"Release ref pattern\" for connected repositories in the Ketryx project settings?](how-can-i-use-release-ref-pattern-for-connected-repositories-in-the-ketryx.md)
- [How do you add your repository to Ketryx for an existing project?](how-do-you-add-your-repository-to-ketryx-for-an-existing-project.md)
- [How do you add your repository to Ketryx for a new project?](how-do-you-add-your-repository-to-ketryx-for-a-new-project.md)
