# Delete GitHub Branches in dbt Cloud

**URL:** <https://discourse.getdbt.com/t/delete-github-branches-in-dbt-cloud/12635>\
**Category:** Help\
**Tags:** dbt-cloud, git\
**Created:** [March 26, 2024, 6:39pm UTC](https://discourse.getdbt.com/t/delete-github-branches-in-dbt-cloud/12635 "2024-03-26T18:39:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarinovic](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@amarinovic](https://discourse.getdbt.com/u/amarinovic)\
**Post date:** [March 26, 2024, 6:39pm UTC](https://discourse.getdbt.com/t/delete-github-branches-in-dbt-cloud/12635/1 "2024-03-26T18:39:08Z")

</div>

How do you delete unneeded GitHub branches in dbt Cloud? I’ve deleted branches in GitHub but a local copy of these branches still exists in dbt Cloud. I see that these branches are moved to the bottom of the list of branches in dbt Cloud, but I want to remove them completely. I tried to refresh git state, but this didn’t change anything.

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [March 26, 2024, 6:54pm UTC](https://discourse.getdbt.com/t/delete-github-branches-in-dbt-cloud/12635/2 "2024-03-26T18:54:50Z")

</div>

Would you mind trying to reclone your repository in dbt Cloud? You can find the option to do so at the bottom right of the IDE page

Note: `@tim.klense (dbt Labs)` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1711479282677679?thread_ts=1711478370.988649&cid=CBSQTAPLG). It might not have transferred perfectly.

---

<div class="post-metadata">

**Author:** ![amarinovic](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@amarinovic](https://discourse.getdbt.com/u/amarinovic)\
**Post date:** [March 26, 2024, 7:22pm UTC](https://discourse.getdbt.com/t/delete-github-branches-in-dbt-cloud/12635/3 "2024-03-26T19:22:14Z")

</div>

Thank you! That worked!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/1X/a7a7ca1fe379aaf90952b0e13118a817babcd14f.png) [@system](https://discourse.getdbt.com/u/system)\
**Post date:** [April 2, 2024, 7:22pm UTC](https://discourse.getdbt.com/t/delete-github-branches-in-dbt-cloud/12635/4 "2024-04-02T19:22:56Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
