# Codecov default branch doesn’t match GH default branch

**URL:** https://community.codecov.com/t/codecov-default-branch-doesn-t-match-gh-default-branch/4442
**Category:** Support
**Created:** [July 25, 2023, 3:04am UTC](https://community.codecov.com/t/codecov-default-branch-doesn-t-match-gh-default-branch/4442 "2023-07-25T03:04:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![EeethB](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/eeethb/32/3153_2.png) [@EeethB](https://community.codecov.com/u/EeethB)
#### Post date: [July 25, 2023, 3:04am UTC](https://community.codecov.com/t/codecov-default-branch-doesn-t-match-gh-default-branch/4442/1 "2023-07-25T03:04:47Z")

</div>

## Before submitting a topic, please confirm the following

[X] I have searched for similar issues before creating this topic.  
[X] I have verified that my repository is using the [Codecov GitHub app](https://github.com/apps/codecov), if using GitHub  
[x] I have [validated](https://docs.codecov.com/docs/codecov-yaml#validate-your-repository-yaml) my `codecov.yaml` configuration file.  
[X] I have filled out the below sections to the best of my ability.  
[X] I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.

### Description

I have changed my default branch from master to main on GitHub and deleted the master branch. Codecov still shows master on the dashboard, and the badge shows master’s old coverage

### CI/CD Run

> **[Code coverage done right.](https://app.codecov.io/gh/atorus-research/xportr)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

### Codecov Output

Not sure if this is relevant. The latest reports are showing up for main, I just want master to go away

### Expected Results

I want [coverage: 100%](https://img.shields.io/codecov/c/github/atorus-research/xportr) to show 100% (main coverage)

### Actual Results

[coverage: 100%](https://img.shields.io/codecov/c/github/atorus-research/xportr) shows 69% (master coverage - branch does not exist)

### Additional Information

No project YAML, but I think I can just rely on the default

---

<div class="post-metadata">

### Author: ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)
#### Post date: [July 25, 2023, 3:11am UTC](https://community.codecov.com/t/codecov-default-branch-doesn-t-match-gh-default-branch/4442/2 "2023-07-25T03:11:27Z")

</div>

@EeethB have you tried changing the default branch on Codecov [in your settings page](https://app.codecov.io/gh/atorus-research/xportr/settings)?

---

<div class="post-metadata">

### Author: ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)
#### Post date: [July 25, 2023, 4:46am UTC](https://community.codecov.com/t/codecov-default-branch-doesn-t-match-gh-default-branch/4442/3 "2023-07-25T04:46:30Z")

</div>

@EeethB you will need an admin to see the page and make the change
