qmetrics.net

diff-so-fancy

Human-readable formatter for git and diff output

diff-so-fancy screenshot

diff-so-fancy reformats git diff and unified diff output for easier reading. Install it on your PATH or configure git to pipe diffs through it.

Overview

diff-so-fancy is a command-line formatter that turns dense machine-oriented diffs into clearer text for review. The goal is to make changes easier to read while scanning patches or pull requests.

You can wire it into git so every diff uses the tool via pager settings, or pipe unified diff output manually with the diff -u flag. Recursive diff mode with -r or --recursive is supported.

Formatting options control empty-line highlighting, simplified hunk headers, stripping leading plus and minus markers, Unicode or ASCII ruler lines, ruler width, boxed file headers in git show, shorter single-line headers, and optional integration with sem summaries.

Distribution paths include copying the script from releases, npm, Homebrew, Fedora and Arch packages, and a Debian or Ubuntu PPA. Packaging issues are handled by those downstream channels when applicable.

Key features

  • Reformats git diff output
  • Pipes unified diff input
  • Simplified hunk header lines
  • Optional Unicode ruler lines
  • Configurable file name boxes
  • Strip leading plus and minus signs
  • Recursive diff support
  • Tunable empty-line highlighting

Use cases

  • Reading git diffs in the terminal
  • Code review in the shell
  • Comparing files with diff -u
  • Custom git pager setup

Tags

Similar software

lazygit

Terminal user interface for everyday Git workflows

Lazygit runs in your terminal inside a Git repository and provides keyboard-driven panes to stage, commit, rebase, cherry-pick, bisect, and inspect history without memorizing long Git command sequences.

  • Line-level and hunk staging
  • Interactive rebase from the TUI
  • Cherry-pick and bisect support
GoLinux, macOS, Windows, CLIDetails →
★ 84.3k⟳ todayMIT

Gitea

Self-hosted Git forge with CI/CD and packages

Gitea is an all-in-one software development service you can run on your own infrastructure. It combines Git hosting with issues, reviews, project boards, package registries, and Gitea Actions CI/CD.

  • Git repository hosting and review
  • Issues, labels, and kanban boards
  • Gitea Actions CI/CD workflows
GoWeb, Linux, macOS, WindowsDetails →
★ 59.5k⟳ todayMIT
Open Source Alternative to:BitbucketCircleCI+2

Gogs

Self-hosted Git service with web collaboration tools

Gogs hosts Git repositories over SSH and HTTP(S) and adds issues, pull requests, wikis, and organization features through a browser UI.

  • Git over SSH and HTTP(S)
  • Browser code browse and edit
  • Issues and pull requests
GoWeb, Linux, macOS, WindowsDetails →
★ 48k⟳ 8 days agoMIT
Open Source Alternative to:BitbucketGitHub

GitHub CLI

Official GitHub terminal client

GitHub CLI brings issues, pull requests, and other GitHub workflows to the terminal beside git. It works with GitHub.com, Enterprise Cloud, and supported Enterprise Server deployments.

  • Pull request workflows
  • Issue management
  • Git-adjacent terminal UX
GoLinux, macOS, Windows, CLIDetails →
★ 47.5k⟳ todayMIT

Harness

End-to-end developer platform with SCM, CI/CD, and registries

Harness Open Source combines code hosting, automated DevOps pipelines, hosted development environments called Gitspaces, and artifact registries in one platform.

  • Git source control hosting
  • CI/CD pipelines in Docker
  • Hosted Gitspaces dev environments
GoWeb, Linux, macOS, WindowsDetails →
★ 39k⟳ yesterdayApache-2.0
Build & DeploymentSelf-hostable
Open Source Alternative to:BitbucketCircleCI+3

delta

Syntax-highlighting pager for git and diff output

delta replaces less for git show, diff, and blame with themes, word-level highlights, and side-by-side layout. Configure it as git’s pager or launch an interactive TUI on top of gitu.

  • Git-aware syntax highlighting
  • Side-by-side diff view
  • Word-level diff emphasis
RustWindows, CLIDetails →
★ 33.1k⟳ todayMIT