---
title: "Discussion on \"How to remove local branches that aren't on remote?\" | Hashnode"
description: "Discussion on \"How to remove local branches that aren't on remote?\". This is the perfect method when you want to synchronize your local repository branches with your remote branches."
url: "https://hashnode.com/posts/how-to-remove-local-branches-that-arent-on-remote/6093047bd1bbc47b91a65c01"
---

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

Discussion

# [How to remove local branches that aren't on remote?](https://blog.rafaelcg.com/how-to-remove-local-branches-that-arent-on-remote?utm_source=hashnode&utm_medium=feed)

This is the perfect method when you want to synchronize your local repository branches with your remote branches.

Apr 3, 2019 · 1 min read · blog.rafaelcg.com  
Read the article

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

## Written by

[Rafael Corrêa Gomes](https://hashnode.com/@rafaelcg)

@rafaelcg · Montreal, CA

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

Ecommerce Developer

I work at LeSite as Technology Director, where I’m responsible for lead the technical team to building innovative products. My passion for building software and sharing knowledge brought me to speak in over 14 conferences and create 21 projects used for more than 20,000 developers in the world. Now, I’m focused on helping merchants bringing innovation and technology strategy to their e-commerce ecosystem using the Magento 2, Adobe Commerce, Shopify Plus and other platforms.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
