Skip to content
Versora
All features

Undo and loss-proof work

Ctrl+Z for almost everything, and a copy of what you haven't committed yet.

The problem

A wrong reset or a hasty discard shouldn't cost you hours of work.

9 features

In Git, almost nothing is truly lost, but getting it back means knowing the reflog and keeping calm. And what was never committed, like a file your editor overwrote, Git doesn't keep. Versora covers both cases: Ctrl+Z undoes Git operations, and local history keeps copies of your work in progress.

Step by step

How it works in Versora

1Step 1 of 6

Undo and redo

Ctrl+Z undoes commits, merges, rebases, resets, checkouts, deleted branches, tags and stashes, and discarded files, hunks and lines, and Ctrl+Shift+Z redoes. Before a discard, the app saves a copy of what would be lost.

To avoid breaking anything, it won't undo over files edited after the operation, or while a merge or rebase is stopped midway.

ShortcutsCtrl+ZCtrl+Shift+Z
The command this replaces
In the terminal2×
git refloggit reset --hard HEAD@{3}
In Versora · one action

Ctrl+Z

2Step 2 of 6

Undo timeline

Alt+Z shows the undo stack as a timeline, with what each operation changed. “Go back to here” first shows the steps and the final state, then undoes them one by one.

“Redo up to here” takes you the other way.

ShortcutsAlt+Z
3Step 3 of 6Exclusive

Local history

Your editor overwrote a file, or you deleted something you shouldn't have before committing? Local history keeps automatic copies of every file with uncommitted changes, whenever it changes on disk.

Alt+H opens the versions so you can compare them, restore one or bring every file back to a point in time. The copies live in .git/versora-history and never leave the repository.

ShortcutsAlt+H
4Step 4 of 6

Named points

About to try something risky? “Mark point…” saves the current state: branches, tags, stashes, HEAD, changed files and the stage.

You can go back to it later, even after closing the app, and Ctrl+Z undoes the whole return. Points aren't pushed, and git gc doesn't delete them.

5Step 5 of 6

Visual reflog

The clock icon opens the reflog: where HEAD and each branch have been. Found the commit that vanished after a reset? Create a branch at that point to recover it.

The command this replaces
In the terminal2×
git reflog show feature/pixgit branch rescued feature/pix@{5}
In Versora · one action

Open the reflog and create a branch at the right spot.

6Step 6 of 6

Full-featured stash

Stashes get a title and a multi-line description. You can stash just a hunk or the lines you pick, only what's staged, or take a snapshot, which saves your work without taking anything out of the working directory.

When you restore it, you can apply just part of a stash, even if the file has already changed, where git refuses.

The command this replaces
In the terminal1×
git stash push --patch -m "wip: pix"
In Versora · one action

Pick the hunk and stash it, with a title and description.

And there's more

3 more Undo 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

  • Undo · 50551b2

    Autostash

    On pull, Sync and checkout, local changes go into a stash and come back at the end.

never want to lose work

  • Undo · a341608

    Protected force push

    Always with --force-with-lease and --force-if-includes, so you never wipe out anyone's work.

    The command this replaces
    In the terminal1×
    git push --force-with-lease --force-if-includes
    In Versora · one action

    “Force push”: the lease comes built in.

come from the terminal

  • Undo · fd1ede8

    Activity log

    The git commands that were run, with duration and errors. Long operations show their phase and percentage and can be canceled.