# Can't add "develop" branch as a branch to be analysed

**URL:** <https://community.sonarsource.com/t/cant-add-develop-branch-as-a-branch-to-be-analysed/28931>\
**Category:** SonarQube Cloud\
**Created:** [July 31, 2020, 10:51am UTC](https://community.sonarsource.com/t/cant-add-develop-branch-as-a-branch-to-be-analysed/28931 "2020-07-31T10:51:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JC5](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@JC5](https://community.sonarsource.com/u/JC5)\
**Post date:** [July 31, 2020, 10:51am UTC](https://community.sonarsource.com/t/cant-add-develop-branch-as-a-branch-to-be-analysed/28931/1 "2020-07-31T10:51:55Z")

</div>

Here is [my project](https://sonarcloud.io/dashboard?id=firefly-iii_firefly-iii). Linked to my GitHub organisation. Simple question: how can I make Sonarcloud analyse the “develop” branch instead of the “main” branch?

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [August 3, 2020, 6:57am UTC](https://community.sonarsource.com/t/cant-add-develop-branch-as-a-branch-to-be-analysed/28931/2 "2020-08-03T06:57:22Z")

</div>

Hi @JC5

For clarity : Do you want your develop branch to become the main branch of your repository ?

If yes, you can rename “main” to “develop” in the “Branches and pull request” menu under Administration of your project.

HTH,  
Mickaël
