Skip to content

Instantly share code, notes, and snippets.

@renshuki
Last active March 18, 2019 13:26
Show Gist options
  • Save renshuki/a7781d8ff27c37b9c37f05ff4d9fb4eb to your computer and use it in GitHub Desktop.
Save renshuki/a7781d8ff27c37b9c37f05ff4d9fb4eb to your computer and use it in GitHub Desktop.
Delete all git remote GHOST branches that doesn't want to disappear (when you do a `git branch -a`)

git remote prune origin

or

git fetch origin --prune

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