Remove all local branches that aren't on the remote repository

Remove all local branches that doesn't exists in remote repository.

Authored by: Mailo Světel
Brought to you by Warp, a free terminal reimagined to work like a modern app.

Command
Copy
"git branch --merged >/tmp/merged-branches && \ vi /tmp/merged-branches && \ xargs git branch -d </tmp/merged-branches"
Tags