#
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
1
·
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
The git history command deserves more attention
Lalit Maganti ·
Jul 14, 2026
Git
Version control
A gentle introduction to Git worktrees
Nicholas C. Zakas ·
Jul 14, 2026
Git
Version control
A Git hook to prevent committing directly to main
Alex Chan ·
Jul 13, 2026
Git
Git
Cloudflare Artifacts: Git storage built for AI agents
Flaviocopes ·
Jul 10, 2026
CloudFlare
Git
How to Use Git Worktrees with Claude Code
Young Choi ·
Jul 4, 2026
Development
Claude Code
What's new in Git 2.55.0?
GitLabBlog ·
Jun 29, 2026
Git
software development
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google