# Fork multiple notebooks

**URL:** <https://talk.observablehq.com/t/fork-multiple-notebooks/2004>\
**Category:** Uncategorized\
**Created:** [May 24, 2019, 2:14pm UTC](https://talk.observablehq.com/t/fork-multiple-notebooks/2004 "2019-05-24T14:14:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mbostock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mbostock/32/9_2.png) [@mbostock](https://talk.observablehq.com/u/mbostock)\
**Post date:** [May 24, 2019, 2:28pm UTC](https://talk.observablehq.com/t/fork-multiple-notebooks/2004/2 "2019-05-24T14:28:03Z")

</div>

You can merge any notebook into any other notebook (to avoid copy-pasting the content). The only caveat is that you have to know the notebooks’ identifiers.

```
https://observablehq.com/compare/{base}...{target}

```

Where `{base}` is the id of the notebook you want to merge _into_, and `{target}` is the id of the notebook you want to merge _from_. You can find the id of a notebook fairly easily now by clicking on History in the notebook menu, and then copying it from the URL.

We don’t currently surface this information in the byline, though, so if you want to give credit, I recommend doing so in the content of the notebook itself. You could also consider importing the notebook instead, if appropriate.

---

_[View the full topic](https://talk.observablehq.com/t/fork-multiple-notebooks/2004)._
