Git Branch Cleanup Commands
Runs in your browser — nothing is uploaded
This tool has no access to your actual repository — paste the output of two local commands and it'll categorize your branches for you.
git for-each-ref --format='%(refname:short)|%(committerdate:short)' refs/heads/
git branch --merged main
Branches + last commit date
Merged branches (git branch --merged)
Frequently asked questions
What is Git Branch Cleanup Commands?
Find stale/merged branches to clean up. It is one of the Git Tools tools on MyCodeTips.
How do I use Git Branch Cleanup Commands?
Open the tool, enter or paste your input, and the result appears right away. Use the Copy button to copy it.
Is Git Branch Cleanup Commands free to use?
Yes. It is free to use and does not need an account.
Is my data safe with Git Branch Cleanup Commands?
Yes. It runs entirely in your browser, so what you enter is never uploaded to our servers.
Can I share my result?
Yes. Use the share buttons below the tool to post a link or copy a link to the tool page.
- Send output to…
- Nothing to send yet.
- Received output from {tool}
- Undo
- Dismiss