class Git::Commands::Remote::Prune

‘git remote prune` command

Deletes stale remote-tracking refs that no longer exist on the named remote.

@example Dry-run to preview which refs would be pruned

prune = Git::Commands::Remote::Prune.new(execution_context)
prune.call('origin', dry_run: true)

@example Prune stale tracking refs for a remote

prune = Git::Commands::Remote::Prune.new(execution_context)
prune.call('origin')

@note ‘arguments` block audited against git-scm.com/docs/git-remote/2.53.0

@see Git::Commands::Remote

@see git-scm.com/docs/git-remote git-remote

@api private