1.3 KiB
1.3 KiB
Usage
Environment Requirements
- Linux or Unix-like terminal environment with curses support.
- Python 3 interpreter available as
python3. - Git installed and available in
PATH.
Installation
- Make the script executable:
chmod +x git-tui - Install as a memorable command name (example:
gtui):sudo install -m 755 git-tui /usr/local/bin/gtui
Running
- Enter any Git repository and run:
gtui
Key Commands in UI
- Main menu:
Up/Downorj/kto move.Enterto execute selected action.qorEscto quit.
- File selector:
Spaceto toggle file selection.ato toggle all files.Enterto confirm.qorEscto cancel.
Git Operations Covered
- Stage all changes (
git add -A). - Stage selected files (
git add -- <paths...>). - Unstage selected files (
git restore --staged -- <paths...>). - Commit staged changes (
git commit -m "<message>"). - Push current branch (
git push). - Pull with rebase (
git pull --rebase). - Fetch all remotes (
git fetch --all --prune). - Show full status (
git status).
Cross References
- Architecture and contracts:
doc/architecture.md - Change history:
CHANGELOG.md