---
title: "Discussion on \"Easily Clean Up Your Git Branches\" | Hashnode"
description: "Discussion on \"Easily Clean Up Your Git Branches\". A Simple Guide to Remove All Branches Except Master/Main"
url: "https://hashnode.com/posts/easily-clean-up-your-git-branches/6420dbba6c2899e289cb0719"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Easily Clean Up Your Git Branches](https://blog.weilincheng.com/easily-clean-up-your-git-branches?utm_source=hashnode&utm_medium=feed)

A Simple Guide to Remove All Branches Except Master/Main

Mar 26, 2023 · 2 min read · blog.weilincheng.com  
Read the article

-   [#git](https://hashnode.com/tag/git)

## Written by

[Wei-Lin Cheng](https://hashnode.com/@weilincheng)

@weilincheng · Taiwan

  
[View profile](https://hashnode.com/@weilincheng)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
