Discard all changes at once using GitHub Desktop

Franck Dernoncourt picture Franck Dernoncourt · Aug 19, 2015 · Viewed 20.9k times · Source

How can I discard all changes at once in GitHub Desktop? (I use it on Windows)

I used to do:

enter image description here

but can't see the option any more since GitHub for Windows upgraded itself silently (and changed its name to GitHub Desktop on the way).

I don't want to do it manually for each file one by one. I know I can use the git shell.

I use the latest version of GitHub Desktop, viz. 3.0.1.1.

Answer

Franck Dernoncourt picture Franck Dernoncourt · Aug 19, 2015

I found it... now we need to right-click precisely on the "X changes" text in blue:

enter image description here


On GitHub Desktop for Mac v2.17: Menu Bar > Repository > Discard Changes to Selected Files.

enter image description here


Related issues: