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.

dolt gc

dolt gc --shallow