git prune

Nesne veritabanından erişilemeyen tüm nesneleri budamaya yarayan git komutu. Bu komut genelde doğrudan kullanılmasa da Git gc tarafından bir iç komut olarak kullanılmaktadır. Daha fazla bilgi için: https://git-scm.com/docs/git-prune.

git prune --dry-run

git prune --verbose

git prune --progress