Skip to content

How to compare samples

Jose Alcérreca edited this page Jul 8, 2019 · 2 revisions

On GitHub

Use GitHub to compare code between branches.

From command line

Use git to show differences between branches. For example:

$ git checkout todo-mvp
$ git difftool -d todo-mvp-clean

If your difftool can handle directory diffs, which is what the -d parameter does, comparing samples is simple. Here's a screenshot using meld showing todo-mvp-clean on the left, and todo-mvp on the right.

Meld in directory diff mode

Double-clicking on a file opens a file diff view:

Meld in file diff mode