nt gc
Name
nt gc - Cleanup unnecessary files and optimize the local repository.
Synopsis
Usage: nt gc [flags]
Flags: -h, --help help for gcDescription
Runs a number of housekeeping tasks within the current repository, such as removing unreachable objects which may have been created from prior invocations of nt add.
Running this command is safe when Git is used in addition to backup the notes as dead object files that will be deleted can still be recreated using Git history.