Comment on Ask HN: What are the best things in your shell config? Functions, aliases, etc.Comments−withinboredom1yI have `git fsync` which pulls and deletes all the local branches when the remote branch is deleted. fsync = !git pull --rebase && git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D This is probably my most-used alias on my machine, by far.
Comments
I have `git fsync` which pulls and deletes all the local branches when the remote branch is deleted.
This is probably my most-used alias on my machine, by far.