Skip to content

Glossary: Git Beyond the Basics

prune (fetch --prune)

Also written: git fetch --prune, prune

Removes remote-tracking branches whose branch was deleted on the remote, tidying your local list.

Where the book teaches it

Related terms

remote-tracking branch