Created
October 21, 2025 12:41
-
-
Save a10y/bf45358f02a2fd01075a3746533d4b1d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # find all refs with remotes that are deleted on the server, and delete them locally | |
| git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment