nt gc
Name
the-notewriter gc
- Cleanup unnecessary files and optimize the local repository.
Synopsis
Description
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
or stale working trees. May also update ancillary indexes such as the commit-graph
.
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.