À propos
Un client Git en TUI inspiré de Magit.
Outils de développementWhat you can do
- Staging/Unstaging (file, hunk, line)
- Showing (view commits / open EDITOR at line)
- Branching (checkout, checkout new)
- Committing (commit, amend, fixup)
Progression mesurée des étoiles
- in 24h
- +2
- in 7 days
- +6
- in 15 days
- +12
- in 1 month
- +23
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalIt's Gitu! - A Git porcelain outside of Emacs
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)
- Committing (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:
Shell completions can be generated with gitu completion <shell>, see Shell completions.
Contributing
While a part of me do with issues/PRs could be closed a lot sooner to respect the work of contributors, I've also coded/tested/reviewed this myself on my spare time. And therefore it needs to stay interesting for myself and not become a chore. There are a few rough edges and missing features in Gitu, it'll never become a full magit-clone. While I'm not against opening up pull-requests, I just wanted to be clear on the expectations. You are always free to fork/extend this project to your heart's desire.
Explorer des projets similaires
Chargement…