Files
cheatsheet-tldr/tldr/dolt-gc
2025-04-23 00:19:06 +00:00

18 lines
422 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dolt gc
> Search the repository for data that are no longer referenced and no longer needed.
> More information: <https://docs.dolthub.com/cli-reference/cli#dolt-gc>.
- Clean up unreferenced data from the repository:
`dolt gc`
- Initiate a faster but less thorough garbage collection process:
`dolt gc {{[-s|--shallow]}}`