Skip to content
Versora
All features

Inspection and analysis

Follow a line of code back to the commit where it was born.

The problem

Before changing code you didn't write, you need to understand why it's the way it is.

10 features

An odd line might be a bug, a last-minute tweak or the fix for an old problem. The answer is almost always in the history, but getting there from the terminal takes git blame, git log -L and a lot of back and forth. Versora brings these tools together in connected screens: from blame to the commit, from the commit to that version's files.

To show a teammate, “Copy Versora link” on a commit, a file or a blame block generates a versora:// link. Whoever receives it opens the app right at that spot and, for blame, with the lines highlighted.

Step by step

How it works in Versora

1Step 1 of 6

Blame with heatmap

With “Age” on, each blame block is colored by age, from orange (recent) to blue (old), by date or relative to the file. The ‹ › arrows go to the previous or next version of the file, following renames.

If the repository has a .git-blame-ignore-revs, formatting-only commits are already left out, and a button turns this on and off.

The command this replaces
In the terminal1×
git blame -w --ignore-revs-file .git-blame-ignore-revs src/routes/clientes.ts
In Versora · one action

Turn on “Age” in the blame.

Blame of a file with the line-age heatmap
2Step 2 of 6

Line origin

Right-click a blame block or a line in the tree and see that line's path: where it was changed, which file it came from, the renames, the merges that brought it in and where it was born.

It helps when code was moved between files and plain blame only shows the last change.

The command this replaces
In the terminal1×
git blame -C -C -M src/routes/clientes.ts
In Versora · one action

Right-click the blame block: the line's whole path.

Blame of a file with the line-age heatmap
3Step 3 of 6

File, folder and line history

File history opens from the diff header or the file menu, and folder history also from the tree and the palette. For a range, pick the lines by their numbers in the diff or in blame: the screen shows the commits that touched them, following edits and renames, like git log -L.

In any version, “Restore file from this version…” brings the file back.

The command this replaces
In the terminal1×
git log -L 10,20:src/routes/clientes.ts
In Versora · one action

Pick the lines in the blame and open their history.

Blame of a file with the line-age heatmap
4Step 4 of 6

Compare revisions

Select two commits in the graph and the right panel shows the diff between them; with consecutive commits, it shows the combined diff. “Compare with…”, in the menu of a commit, branch or tag, shows what enters when merging and what only one side has, and ⇄ swaps the sides.

The command this replaces
In the terminal1×
git diff main...feature/checkout-pix
In Versora · one action

“Compare with…” in the branch menu.

5Step 5 of 6

Tree of any revision

“Browse the files…”, in the commit, branch and tag menus, shows that version's folders and files, with search, highlighted contents, history and blame. To take the whole version with you, export ZIP or tar.gz with git archive, which honors export-ignore.

If you cancel, no half-written file is left behind.

The command this replaces
In the terminal1×
git archive --format=zip -o v1.3.0.zip v1.3.0
In Versora · one action

Browse the files and export the ZIP.

Versora's commit graph with color-coded branches, merges, tags, stack labels and the panel for the selected commit
6Step 6 of 6

Visual bisect

A bug showed up and you don't know when? Start bisect from the commit menu and mark Good, Bad or Skip in a bar, with markers in the graph.

In automatic mode, enter a test command and the app drives the search.

The command this replaces
In the terminal4×
git bisect startgit bisect badgit bisect good v1.3.0git bisect run npm test
In Versora · one action

Mark Good or Bad, or let the app run the test.

And there's more

4 more Inspection features

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

You'll like these if you…

review merge requests

  • Inspection · f39b795

    #123, !45, Jira keys and your own regular expression rules become links. Co-authors and Signed-off-by show up as people.

rewrite history

  • Inspection · f68f647

    Bring file

    Bring a file over from another branch or commit, seeing first what changes. Ctrl+Z undoes it.

    The command this replaces
    In the terminal1×
    git restore --source=main -- src/app.ts
    In Versora · one action

    Bring the file from another branch, seeing what changes first.

  • Inspection · 1b9af26

    Commit overlap

    Which of the branch's commits touch the same lines, nearby lines or just the same files, to decide what to squash or reorder.

set the team's standards

  • Inspection · b24c977

    Contributors and treemap

    Commits and lines per author (with .mailmap), activity over time and a treemap of the repository, computed in the background.