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 April 29, 2026 15:33
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.