Whenever I show command line people "discard changes" in SourceTree, they're always like - oh yeah I can't do that. I lean on that hard.
With that I can make all kinds of changes when I'm trying to debug or figure something out, then on a file, block or line-basis, easily throw those away before committing the changes I do want to commit.
Notice I have the option to discard the whole file (meaning just the changes in green), the hunk in question (far right button) or I can just do a line or group of lines if if I select them. No one has ever been able to show me a command line equivalent to this.
Last edited by suzzer99; 08-15-2018 at 02:45 AM.