#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
git: prune stale branches
·
Thiago Perrotta
·
Nov. 27, 2025, 9:34 p.m.
Git
Version control
software development
Branch Management
Summary
This post explains how to clean up local git branches that have been merged upstream, making it easier for developers to manage their git environment. It provides specific commands to create aliases for pruning branches.
Read full post on perrotta.dev →
MORE POSTS LIKE THIS
Resolve `git am` Merge Conflicts
Leo ·
Sep 6, 2026
Git
Version control
★ git: diff against the default branch
Thiago Perrotta ·
Aug 31, 2026
Git
Dev
What commit did I branch off from?
Jamie Tanna ·
Aug 23, 2026
Git
Version control
Git without the hubs and the labs
Aldo Ziflaj ·
Aug 5, 2026
Git
Code sharing
Git: exclude commits by an author in git log with --perl-regexp
Adamj ·
Aug 5, 2026
Git
posts
The git history command deserves more attention
Lalit Maganti ·
Jul 14, 2026
Git
Version control
Discover more posts →
AUTHOR
Sponsored
Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google