Skip to the content.

ivaldi diff

Compare changes between commits, staged files, or working directory.

Synopsis

ivaldi diff
ivaldi diff [options]
ivaldi diff <seal>

Description

Show differences between:

Options

Hash Prefix Support

You can use short hash prefixes instead of full 64-character hashes:

# Full hash
ivaldi diff 447abe9b1234567890abcdef1234567890abcdef1234567890abcdef12345678

# Short prefix (minimum 4 characters)
ivaldi diff 447a
ivaldi diff 447abe9b

The prefix must be unique - if multiple commits match, you’ll be prompted to use a longer prefix.

Examples

Working Directory Changes

ivaldi diff

Staged Changes

ivaldi diff --staged

Compare with Seal

ivaldi diff swift-eagle-flies-high
ivaldi diff 447abe9b

Statistics Only

ivaldi diff --stat

Use Cases

Review Before Commit

ivaldi diff
ivaldi gather .
ivaldi diff --staged
ivaldi seal "Changes"

Compare Versions

ivaldi log --oneline
ivaldi diff abc123 def456

Comparison with Git

Git Ivaldi
git diff ivaldi diff
git diff --staged ivaldi diff --staged
git diff <commit> ivaldi diff <seal>