Skip to content

Instantly share code, notes, and snippets.

View MarkusPettersson98's full-sized avatar
πŸ‰
https://blog.paulbiggar.com/i-cant-sleep/

Markus Pettersson MarkusPettersson98

πŸ‰
https://blog.paulbiggar.com/i-cant-sleep/
View GitHub Profile
@dteoh
dteoh / command.md
Last active March 13, 2025 16:28
Interactively delete git branches locally

Delete multiple Git branches with a UI

This assumes you have installed [fzf][1].

$ git branch --no-color | fzf -m | xargs -I {} git branch -D '{}'

Press tab to mark a branch, shift-tab to unmark. Press enter and all marked branches will be deleted.