Is your feature request related to a problem? Please describe.
Some of the repos i work with have pre-checkout hooks and thus the discard functionality becomes really slow. Can discard functionality use any other command than git checkout?
Describe the solution you'd like
The discard changes functionality can work the same way but it can be done with so many other commands.