git remote prune <name...>

Equivalent to git fetch --prune [name], except that no new references will be fetched

Arguments

NameDescription
name

Options

NameDescription
-n
--dry-runReport what branches would be pruned, but do not actually prune them