Skip to content

Instantly share code, notes, and snippets.

@nicholasxjy
Last active December 24, 2018 03:20
Show Gist options
  • Save nicholasxjy/dfec2946a47687eeed07bbb642b06ffc to your computer and use it in GitHub Desktop.
Save nicholasxjy/dfec2946a47687eeed07bbb642b06ffc to your computer and use it in GitHub Desktop.
git commands
  • remove unused remote branches to local
git fetch origin --prune
  • remove unused remote tags to local
git fetch --prune --prune-tags origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment