#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
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
software development
Version control
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
How I Develop Pure Commons Apps
Kevquirk ·
Sep 25, 2026
Article
Git
Resolve `git am` Merge Conflicts
Leo ·
Sep 6, 2026
Git
software development
★ git: diff against the default branch
Thiago Perrotta ·
Aug 31, 2026
bestof
Dev
What commit did I branch off from?
Jamie Tanna ·
Aug 23, 2026
Git
software development
Git without the hubs and the labs
Aldo Ziflaj ·
Aug 5, 2026
Git
patches
Git: exclude commits by an author in git log with --perl-regexp
Adamj ·
Aug 5, 2026
posts
Git
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.