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

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

Managing branches

Codacy supports analysis on multiple branches on your git repositories.

Main branch

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

You can redefine your Main branch by going to repository Settings, tab Branches.

Pull Request

Upon pull requests, Codacy will automatically trigger analysis on the branch the pull request belongs to and analyze the pull request.

Enable other branches

It is also possible to enable analysis on other branches. To do this, go to the repository Settings, open the Branches tab, and enable the branches you'd like.

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 November 17, 2020