Skip to content

Housekeeping

Remove objects that are no longer referenced by any snapshot or the current index:

Terminal window
# Preview
gda gc --dry-run
# Execute
gda gc

Objects younger than 1 hour are never removed. This grace period prevents race conditions with concurrent operations.

Scan your entire project and verify everything is intact:

Terminal window
gda fsck

Checks for:

  • Broken symlinks (symlink exists but target is missing)
  • Missing files (no symlink or file at all)
  • Corrupt objects (stored content doesn’t match hash)
  • Modified unlocked files (content changed since lock)
17 ok, 0 broken, 0 fixed, 0 modified, 0 missing

gda fsck automatically repairs broken symlinks when the object still exists in the store.