47 releases (26 breaking)

0.27.0 Nov 5, 2024
0.25.0 Sep 3, 2024
0.23.1 Jul 23, 2024
0.11.0 Mar 27, 2024

#439 in GUI

Download history 10/week @ 2024-08-23 157/week @ 2024-08-30 58/week @ 2024-09-06 71/week @ 2024-09-13 41/week @ 2024-09-20 27/week @ 2024-09-27 22/week @ 2024-10-04 22/week @ 2024-10-11 85/week @ 2024-10-18 143/week @ 2024-10-25 183/week @ 2024-11-01 54/week @ 2024-11-08 24/week @ 2024-11-15 9/week @ 2024-11-22 152/week @ 2024-11-29 1153/week @ 2024-12-06

1,341 downloads per month

MIT license

4MB
7K SLoC

It's Gitu! - A Git porcelain outside of Emacs

CI codecov

A terminal user interface for Git. Inspired by Magit.

Features

Gitu aims to implement many of the core features of Magit over time. It should be familiar to any previous Magit users.
Here's a list of so-far supported features:

  • Staging/Unstaging (file, hunk, line)
  • Showing (view commits / open EDITOR at line)
  • Branching (checkout, checkout new)
  • Commiting (commit, amend, fixup)
  • Fetching
  • Logging (current, other)
  • Pulling / Pushing to/from configured upstream/pushDefault
  • Rebasing (elsewhere, abort, continue, autosquash, interactive)
  • Resetting (soft, mixed, hard)
  • Reverting (commit)
  • Stashing (save, pop, apply, drop)

Keybinds

Keybinds try mimic Magit, while staying Vim-like. A help-menu can be shown by pressing the h key, or by configuring general.always_show_help.enabled = true

Configuration

The environment variables VISUAL, EDITOR or GIT_EDITOR (checked in this order) dictate which editor Gitu will open. This means that e. g. commit messages will be opened in the GIT_EDITOR by Git, but if the user wishes to do edits to the actual files in a different editor, VISUAL or EDITOR can be set accordingly.

Configuration is also loaded from:

  • Linux: ~/.config/gitu/config.toml
  • macOS: ~/.config/gitu/config.toml
  • Windows: %USERPROFILE%\AppData\Roaming\gitu\config.toml

, refer to the default configuration.

Installing Gitu

Follow the install instructions: Installing Gitu
Or install from your package manager:

Packaging status

Contributing

PRs are welcome! This may help to get you started: Development & Tooling

Dependencies

~314MB
~9.5M SLoC