Guides
Compare versions
Filament shows what changed in a file, side by side. It works for images, 3D models, video, audio and text.
What changed recently
In the project's sidebar, click "Pending" for changes you haven't committed yet, or "Changes" for everything on your branch, your own line of work. Pick a file to see it.
In the tabs at the top of the file, click "Diff", short for difference, to compare it before and after the change. Click "Preview" to see it as it is now. Text files, such as code, Markdown, SVG and CSV, also have "Raw" for their plain contents.
Every version of a file
- Click "Files" in the project's sidebar.
- Click the file.
- At the top of the preview, click the clock button, "Show version history". The versions appear in a row under the preview.
- Click a version to see it.
Each version compares with the one before it. To compare any two versions, click one, then hold Shift and click the other. Or right-click a version and choose "Compare with selected version". The line above the preview says what lies between them, such as "Comparing v2 → v5 · 3 changes over 18 days · 2 people". For text files it also shows how many lines they added and removed. Click "Done" to go back to one version.
Images
Pick an image in one of the ways above, then click "Diff". There are five ways to compare. Choose one with the row of five icons on the right side of the bar above the picture. Point at an icon to see its name.
- Side by side: both versions next to each other.
- Swipe: drag a line across to reveal one or the other.
- Onion skin: one version laid over the other.
- Difference: a heatmap of the pixels that changed.
- Toggle: one version at a time. Press B to flip.
Press N to jump to the next part of the picture that changed, and P for the previous one. The arrows on the left side of the same bar, after "Fit" and "1:1", do the same. In "Changes", for a project on a hub, N and P move between comments instead. The arrows always work.
3D, video and audio
- 3D models: in "Diff", the comparison buttons sit in the bar above the model, on the right. "Focus next diff", the target icon, jumps to the next part that changed. Next to it, "Show diff color wash" and "Show diff border" color and outline what changed.
- Video: the two versions sit side by side, each with its own player. Starting one pauses the other.
- Audio: the waveforms stack, and "Before" and "After" switch what you hear. Filament lines the two clips up. If they're too different to line up, it says so and marks all of it as changed.
PDFs, spreadsheets, SVG, Markdown and text files compare the same way: pick the file, then choose "Diff".