1

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?

new
  • 329
  • 3
  • 11

1 Answers1

1

As illustrated in this article, the GitHub Desktop interface has an undo button, but no "redo" action.

https://i.stack.imgur.com/ZsjAj.png

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