Terminal git client
Three-pane git TUI on the SugarCraft stack — status / branches / log laid out side-by-side, single-key stage / unstage, refresh. Shells out to git for every mutation so users keep their existing aliases, hooks, and signing config.
composer require candycore/sugar-stash
// Run from any git working tree:
sugar-stash
// Or wire your own driver in PHP:
use CandyCore\Core\Program;
use CandyCore\Core\ProgramOptions;
use CandyCore\Stash\App;
use CandyCore\Stash\Git;
$git = new Git(getcwd());
(new Program(App::start($git), new ProgramOptions(useAltScreen: true)))->run();
git status --porcelain=v1 -b with per-row index / work flags and a branch-summary header.git for-each-ref driven; current branch is highlighted + bold.s in the status pane toggles staging via git add / git restore --staged.GitDriver interface lets tests inject a fixture-backed driver without staging real repos.R reloads from disk; cursors are clamped if the row count shrinks.VHS-recorded GIFs of every example shipped with the app. Regenerated automatically on every push that touches the source.