Skip to content

M2: local actions — checkout, working copy, commit, branches, stash #12

Description

@LeadcodeDev

Milestone 2 of gitr. Milestone 1 (read and visualise) is complete, see #1.

Scope: checkout of a branch, tag or commit; working copy with staged and unstaged changes; stage, unstage and discard; commit and amend; create and delete branches and tags; stash push, pop, apply and drop.

Everything mutating goes through the git subprocess runner built in #4, which already resolves PATH from the login shell. The filesystem watcher from #6 will fire on gitr's own writes, so echo suppression belongs to whichever call initiated the write — the watcher cannot tell who moved HEAD.

Also picks up the two M1 gaps that belong here: the sidebar's Working and Stashes sections currently render empty because RepositoryState loads neither.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions