git/prune

Prune Objects

Prune all unreachable objects from object database

git
prune
objects

Command

git prune

Explanation

git prune is used to prune all unreachable objects from the object database. It prunes the unreachable objects from the object database.

Examples

Remove unreachable objects

git prune