2 ms·
I 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 bran
by withinboredom 2y ago
I 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.