Skip to content
This documentation applies to Codacy Self-hosted v3.5.1

For the latest updates and improvements, see the latest Cloud documentation instead.

Managing branches

Codacy supports analysis on multiple branches on your Git repositories.

By default, Codacy automatically triggers analysis on the master branch only.

You can define the main branch of your repository on the repository Settings, tab Branches.

Pull requests

Upon pull requests, Codacy automatically triggers analysis on the corresponding branch to analyze the pull request, as long as the target branch of the pull request is enabled.

Analyzing other branches

It's also possible to enable analysis on other branches.

To do this, open the repository Settings, tab Branches , and enable the branches that Codacy should analyze.

Managing branches

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified February 11, 2021