Skip to content

Instantly share code, notes, and snippets.

View sganous's full-sized avatar
Need coffee...

Sergey Ganous sganous

Need coffee...
View GitHub Profile
@sganous
sganous / branch_cleanup.sh
Last active June 9, 2021 18:37
Local git branch cleanup
git branch --merged | grep -v "master" >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches