I committed a working code, and was testing new code. I accidentally clicked undo, mixing the working code and the new code. Is there way to "undo" undo in Github Desktop?
Asked
Active
Viewed 978 times
1 Answers
1
As illustrated in this article, the GitHub Desktop interface has an undo button, but no "redo" action.
If a commit has been undone, you would need to use git reflog
as in here to get it back.

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
concise yet great answer! – new Mar 04 '21 at 06:38