---
title: "Discussion on \"A Time-Saving  Git Alias - \"git sweep\"\" | Hashnode"
description: "Discussion on \"A Time-Saving  Git Alias - \"git sweep\"\". Delete all local branches linked to deleted remote branches with just one command!"
url: "https://hashnode.com/posts/git-sweep/64f193255feabd25f60a5c85"
---

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

Discussion

# [A Time-Saving Git Alias - "git sweep"](https://colinkiama.hashnode.dev/git-sweep?utm_source=hashnode&utm_medium=feed)

Delete all local branches linked to deleted remote branches with just one command!

Feb 17, 2022 · 1 min read · colinkiama.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#git-alias](https://hashnode.com/tag/git-alias)
-   [#tips](https://hashnode.com/tag/tips)
-   [#tips-and-tricks](https://hashnode.com/tag/tips-and-tricks)

## Written by

[Colin Kiama](https://hashnode.com/@colinkiama)

@colinkiama

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

Game Developer. I love creating things that make people happy and contributing back to the human experience.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
