Skip to content
Versora
All features

Changes, diff and staging

Choose exactly what goes into the commit, down to the last line.

The problem

A good commit is rarely “everything that changed”: it's the right part, separated from the rest.

12 features

Midway through a task, the same file often holds the fix, a debug log and a change that isn't ready yet. Versora lets you stage by file, by hunk or by line, with the diff shown the way you like. And whatever you discard by mistake isn't lost.

Files in legacy encodings, such as Windows-1252, Latin-1 and UTF-16, show up with the right accents. Line staging writes the bytes in the file's own encoding: a Windows-1252 file stays Windows-1252.

Step by step

How it works in Versora

1Step 1 of 6

Line-by-line staging

Hover a changed line to stage just that line, or click the line numbers to pick several, with Shift+click for a range. Each hunk has “Stage hunk” and “Discard hunk”, and the line bar does the same for the selection.

Before discarding, the app saves a copy of what would be lost, and Ctrl+Z brings it back.

The command this replaces
In the terminal1×
git add -p src/routes/pedidos.ts
In Versora · one action

Hover the line and stage just that one.

Changes panel with staged and unstaged files, a diff with per-hunk buttons and a filled-in commit box
2Step 2 of 6

Your diff, your way

View the diff unified or side by side, for the whole file or only the changed parts. The “− 3 +” control in the bar sets how many context lines appear around each hunk, from 1 to 50, and clicking the number resets it to git's default.

“Ignore whitespace” and line wrapping are in the same bar.

Changes panel with staged and unstaged files, a diff with per-hunk buttons and a filled-in commit box
3Step 3 of 6

Staging shortcuts

With a file selected, S stages it and U unstages it. Ctrl+Shift+S and Ctrl+Shift+U apply to every file, and Ctrl+Shift+M jumps to the commit message.

In the message, Ctrl+Enter commits and Ctrl+Shift+Enter stages everything and commits. None of these shortcuts fire while the focus is in a text field.

ShortcutsSUCtrl+Enter
Changes panel with staged and unstaged files, a diff with per-hunk buttons and a filled-in commit box
4Step 4 of 6

Image diff

A changed image shows up side by side, with a swipe control or with both versions overlaid. Pixel mode highlights every pixel that changed, with a count, tolerance and zoom up to 32×.

You can check an icon or a screenshot without opening another program.

5Step 5 of 6

Patch from the clipboard

Got a patch in a chat? Copy it and press Ctrl+V outside a text field: Versora shows the files and tells you whether the patch applies cleanly, only with 3-way, or not at all.

Once it's applied, Ctrl+Z undoes it. Going the other way, “Export as patch”, in the stash menu, copies or saves the whole stash, untracked files included.

The command this replaces
In the terminal2×
git apply --check fix.patchgit apply --3way fix.patch
In Versora · one action

Copy the patch and press Ctrl+V.

6Step 6 of 6

“Don't commit” list

That local config file that should never reach the repository goes, from the file menu, into its own group in the changes list. It's left out of “Stage all changes”.

If it ends up staged anyway, the commit asks before going ahead.

And there's more

6 more Changes features

Grouped by who gets the most out of them. Open a feature to see the details.

You'll like these if you…

want a friction-free day

  • Changes · 687b963

    Syntax highlighting

    Per-language colors and highlighting of the exact part that changed within each line.

    Changes panel with staged and unstaged files, a diff with per-hunk buttons and a filled-in commit box
  • Changes · 2752ecf

    Markdown preview

    In a .md file, switch between the source and the formatted preview.

  • Changes · 2073f01

    Always up to date

    Whatever you change in your editor or terminal shows up on its own, no refresh button needed.

  • Changes · b331907

    .gitignore templates

    Node, Python, Java, .NET, Rust, Go, Unity, editors and operating systems, built into the app, showing the exact lines that go in.

set the team's standards

  • Changes · 5ae2d7e

    Line ending warning

    Warns when a commit would bring CRLF or mixed line endings into the repository.

come from the terminal

  • Changes · 0b32918

    External tools

    Open git's diff and merge tool (diff.tool and merge.tool), one of the installed ones or a command line with $LOCAL, $REMOTE, $BASE and $MERGED.