# How to remove a branch in dbt

**URL:** <https://discourse.getdbt.com/t/how-to-remove-a-branch-in-dbt/11100>\
**Category:** Help\
**Created:** [December 7, 2023, 7:26pm UTC](https://discourse.getdbt.com/t/how-to-remove-a-branch-in-dbt/11100 "2023-12-07T19:26:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yidongliang](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/yidongliang/32/3364_2.png) [@yidongliang](https://discourse.getdbt.com/u/yidongliang)\
**Post date:** [December 7, 2023, 7:26pm UTC](https://discourse.getdbt.com/t/how-to-remove-a-branch-in-dbt/11100/1 "2023-12-07T19:26:23Z")

</div>

## The problem I’m having

Hello, how can I delete unneeded branches in dbt? thanks

## The context of why I’m trying to do this

## What I’ve already tried

## Some example code or error messages

```auto
Put code inside backticks
  to preserve indentation
    which is especially important 
      for Python and YAML! 

```
