/oss · 1 merged

NeogitOrg/neogit

A Git interface inside the Neovim editor, modeled on Magit.

the project on GitHub (opens in a new tab)
  1. 17 Nov 2026

    Discarding staged changes keeps your other edits

    What was broken
    Discarding the staged part of a file also threw away edits that were not staged yet, so work was lost.
    What I changed
    Only the staged changes are now undone, and the unstaged edits stay, the way Magit does it.
    Why it matters
    People can clean up what they staged without losing work in progress.

    see the code, #2036 (opens in a new tab)

← every project