Skip to main content

morphir kb sync pull

  • Usage: morphir kb sync pull [FLAGS]

Import upstream changes and rewrite the lockfile

Flags

  • --kb <PATH> — Path to the knowledge base root (the directory holding bundles/). Auto-detected when omitted
  • --json — Emit JSON instead of text, for chaining and for agent consumption
  • --bundle <BUNDLE> — Bundle to sync (defaults to the one whose index declares sync: true)
  • --refs <REFS> — Reference checkouts root (default: .refs under the repository root)
  • --dry-run — Report what would change without writing anything
  • --theirs — Take upstream's version of files that changed on both sides
  • --prune — Delete mirrored files that upstream has removed
  • --date <DATE> — Override today's date (YYYY-MM-DD)