I'm not seeing a way in the Git Commits page to discard individual items. I see the button to discard all and stop editing. Am I missing something?
Hi E Greiff,
Thanks for asking about the Git Commit page. You are not missing it: each changed file has its own discard button, but it is hidden until you point at the file.
In the Changes list on the left, move the mouse over a file. A minus (-) icon appears at the right of that row, with the tooltip "Discard this change". Clicking it and confirming discards the changes in that file. A folder row has the same icon for everything under it.
One caution before you rely on it. In our test on PowerShell Universal 2026.3.2, discarding a single file reverted the file in the repository, but PowerShell Universal kept running the edited version of what was in it. The next change saved to that same file then wrote the discarded edit back, and the file appeared again on the Git Commit page. "Discard all & stop editing" did put everything back to the last commit, including what PowerShell Universal was running.
The manual-mode edit and commit flow is described here: https://docs.devolutions.net/powershell-universal/config/git
Best regards,
Michel
Michel Audi
Thank you. I see the single item discard now. Caution noted.
Hi Eric,
Thank you for letting us know. I am glad you found the single-item discard on the Git Commit page. Your question is answered, so I will now close this case. If anything else comes up, you are welcome to reply here.
Best regards,
Michel
Michel Audi