Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.2018.06.21.prune-deleted-remote-branches
2018.06.21.prune-deleted-remote-branches
# prunes the remote repository origin
git fetch --prune
# same as above
git fetch -p
# prunes the remote repository upstream
git fetch upstream --prune
# same as above
git fetch upstream -p
git fetch [remote] [-p | --prune]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.