Skip to content

Instantly share code, notes, and snippets.

@aspeckt-112
Created September 6, 2025 20:09
Show Gist options
  • Save aspeckt-112/eab8b9a72a55c6f7cdd199c7ad036a77 to your computer and use it in GitHub Desktop.
Save aspeckt-112/eab8b9a72a55c6f7cdd199c7ad036a77 to your computer and use it in GitHub Desktop.
Git Gone
[alias]
gone = "!f() { git fetch --all --prune; git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D; }; f"
@aspeckt-112
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment