See what changed in a story map

On this page

storymaps diff compares your file with the user story map on the server, so you can check a change before you push it.

storymaps diff [source] [target] [--full]

A summary

After the change in Edit the story map YAML:

Terminal
storymaps diff  ~ MVP: 1 card updated (status)  + V1: 1 card Run storymaps diff --full for the full file diff.

Each line is a slice and what changed in it: + for cards added, - for cards removed and ~ for cards changed, with the fields that changed. If the file matches the story map, it says No differences.

Line by line

--full shows the lines that changed, with a few lines either side. The two columns of numbers are the line numbers on the server and in your file.

Terminal
storymaps diff --full--- remote: https://storymaps.io/abc12345+++ local: /home/you/coffee-app/storymap.yml32 32           - name: Drink list with prices33 33         Customise Drink:34 34           - name: Choose size   35 +           status: done35 36         Add To Cart:·········52 53           - name: Extra shots and syrups   54 +         - name: Decaf option53 55         Add To Cart:

Compare two files

Give it two files to compare them with each other, without the server:

Terminal
storymaps diff storymap.yml before-the-workshop.yml

With one file, it compares that file with its story map: storymaps diff checkout.yml.

Give it a link or an ID to compare your file of that story map with the server, wherever the file is:

Terminal
storymaps diff storymaps.io/p/k8f2m9xq/abc12345  ~ MVP: 1 card updated (status) Run storymaps diff --full for the full file diff.

A whole project

In a project folder, it compares every story map, and lists the ones that differ:

Terminal
storymaps diff  m7q2r8tz.yml  Loyalty Card    + MVP: 1 card    ~ MVP: 1 card updated (status)3 maps the same as the server.Run storymaps diff --full for the full file diff.

--full shows the lines that changed in each one. See Push changes to a project.