HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dolt gc — Search the repository for data that are no longer referenced and no longer needed. More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommanddolt gcsearchclidataforrepository

Problem

How to use the dolt gc command: 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>.

Solution

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]}}

Code Snippets

Clean up unreferenced data from the repository

dolt gc

Initiate a faster but less thorough garbage collection process

dolt gc {{[-s|--shallow]}}

Context

tldr-pages: common/dolt gc

Revisions (0)

No revisions yet.