35 releases (18 breaking)

new 0.19.2 Apr 25, 2024
0.18.4 Apr 20, 2024
0.11.0 Mar 27, 2024

#94 in Text editors

Download history 176/week @ 2024-02-28 1338/week @ 2024-03-06 893/week @ 2024-03-13 733/week @ 2024-03-20 473/week @ 2024-03-27 664/week @ 2024-04-03 428/week @ 2024-04-10 901/week @ 2024-04-17

2,482 downloads per month

MIT license

4MB
5.5K 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 (You may want to configure a push.default)
  • 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 GIT_EDITOR, VISUAL or EDITOR (checked in this order) dictate which editor Gitu will open.

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

~281MB
~8.5M SLoC