Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 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.