Skip to content

aymuos15/GitGUI

Repository files navigation

Git Gui (GG)

A simple GUI for Git in Go.

Features

  • Syntax highlighting - Full syntax highlighting for languages (yet to create tracking for this)
  • Side-by-side view - Compare old and new code directly alongside each other
  • Tabbed interface - Easy navigation between multiple changed files
  • Instant Reload - All actions are monitored well with instant updates with no delay
  • Color-coded help bar - Each keyboard shortcut displayed in distinct dark pastel colors for quick reference
  • Line numbers - See exact line numbers for both versions
  • Full scrolling - Navigate with vim-style keybindings (j/k, arrows, page up/down)

Installation

curl -fsSL https://raw.githubusercontent.com/aymuos15/GitGUI/master/install.sh | bash

Installs to ~/bin. Make sure $HOME/bin is in your PATH.

Usage

Navigate to any repository with git and run:

gg

Keyboard Shortcuts

  • d - View the diff between your changes
  • l - View the git log and commit history
  • s - View statistics and status summary

Screenshots

Side-by-Side Diff View

Diff View

The main diff view displays code changes side-by-side with full syntax highlighting. Deletions are shown on the left (red background), additions on the right (green background). Navigate between multiple changed files using tabs at the top.

Git Log View

Log View

Browse your commit history in an interactive table format. View commit hashes, messages, timestamps, and authors with a visual graph representation of the commit history.

Statistics View

Stats View

Press s to see a summary of all changes organized by file. The statistics view shows file status, addition counts (green), and deletion counts (red) for a quick overview of your changes.