TotalApp Docs

Git Diff Viewer

View, compare, and annotate code diffs from connected Git repositories.

Overview

The Git Diff Viewer connects to your GitHub, GitLab, or Bitbucket repository and displays code changes in a clean, syntax-highlighted side-by-side or unified view. You can compare commits, branches, pull requests, and local working-tree changes.

Connecting a Repository

  1. Go to Developer Tools → Git Diff.
  2. Click Connect Repository and authenticate with GitHub, GitLab, or Bitbucket.
  3. Select the repository from the dropdown.

Comparing Changes

Use the comparison bar at the top to select what to diff:

  • Commit to Commit — select two commit hashes or tags
  • Branch to Branch — compare any two branches
  • PR Diff — paste a pull request URL to view its full diff

View Modes

ModeDescription
Side-by-SideOld on left, new on right — best for reviewing additions and deletions together
UnifiedSingle-pane view with - and + lines — best for linear reading of changes
File TreeHierarchical file list with change counts — best for navigating large diffs

Annotations

Click any line in the diff to add an annotation comment. Annotations are saved in TotalApp (not pushed to Git) and are visible to all workspace members.