Skip to content

nrepo merge

Terminal window
nrepo merge <keep-id> <absorb-id> [options]

nrepo merge combines two ideas into one. The idea specified by <keep-id> is preserved and updated, while the idea specified by <absorb-id> is absorbed into it.

The merge performs the following:

  1. Body — The absorbed idea’s body is appended to the kept idea’s body.
  2. Tags — Tags from both ideas are combined (union).
  3. Relation — A supersedes link is created from the kept idea to the absorbed idea.
  4. Status — The absorbed idea is moved to shelved.
FlagTypeDefaultDescription
--forcebooleanfalseSkip the confirmation prompt.
--jsonboolean(see auth)Output as JSON.
--humanboolean(see auth)Output as human-readable text.
Terminal window
nrepo merge 42 43
# Merge #43 "Dark mode — Tailwind approach" into #42 "Add dark mode to dashboard"?
# (y/N): y
# Merged. #42 now supersedes #43.
Terminal window
nrepo merge 42 43 --force --json

Review both ideas before merging:

Terminal window
nrepo diff 42 43
nrepo merge 42 43