Skip to content

Instantly share code, notes, and snippets.

@mhpob
Last active April 19, 2021 14:06
Show Gist options
  • Save mhpob/c65aa4c30a76a7eb94db to your computer and use it in GitHub Desktop.
Save mhpob/c65aa4c30a76a7eb94db to your computer and use it in GitHub Desktop.
Delete and prune local branches that no longer exist.
git branch -d branch-to-delete
git fetch -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment