Skip to main content
Keep your dbt™ project repository organized by removing branches you no longer need. Paradime offers one-click pruning that removes multiple merged branches at once, and manual deletion for removing specific branches individually.
PrerequisitesEstimated time: 5 minutes.

Steps

1

Prune merged branches in one click

One-click branch pruning automatically identifies and removes local branches that have been merged and deleted on remote. It only removes branches that were properly merged, and it shows you exactly which branches will be deleted before removing them.
  1. Open the Git Lite panel in the left sidebar.
  2. Click the scissor icon to access branch pruning.
  3. Review the branches that will be removed.
  4. Confirm the cleanup to remove all identified branches.
2

Delete a specific branch (Git Advanced)

For Git Advanced users who need to delete a specific branch individually, including one that has not been merged yet:
  1. Open the Git Advanced panel in the left sidebar.
  2. Click the three-dot menu (⋯) at the top left of the sidebar.
  3. Select Delete Branches from the dropdown.
  4. Choose the branch you want to delete from the list.
  5. Confirm the deletion.
A branch can only be deleted from the UI once it has been pushed and merged with the remote branch. To force-delete an unmerged branch, use the terminal command git branch -D <branch_name>.
You will know it worked when the pruned or deleted branches no longer appear in the branch list. If a branch remains, it was not merged to remote, so delete it manually with git branch -D <branch_name> in the terminal.

Next steps

Resolve merge conflicts

Handle conflicts when Git can’t merge two branches automatically.

Use Git Advanced

Take full control of staging and branch management.

Version control reference

Every Git feature in the Code IDE.