Skip to main content

morphir kb sync push

  • Usage: morphir kb sync push [FLAGS]

Project locally-edited files back into an upstream checkout

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)
  • --to <TO> — Checkout to write the upstream form into (default: the reference checkout)
  • --dry-run — Report what would be written without writing anything
  • --include-diverged — Also export files that changed upstream since the last import