So before I upgraded a third party plugin in my project to their newest version, I did a commit so I could reverse the changes if things went haywire. Well, things went haywire and I'd like to restore the project to the state it was at with the last commit. I tried 'Reset master to this commit' but it seems to have kept some of the new files added when I upgraded the plugin even though I selected hard (discard local changes). There's many files, so manually deleting the problem files would be tiresome (why I made sure to commit before upgrading).
Anything I can do in SourceTree?
edit: does removing files in SourceTree delete them?
Try the "stash" feature. Stashing (untracked files must be staged when using sourcetree, I believe) will leave you with a clean working copy up to your last commit. If you decide you want your changes back, you only need to apply the stash. If you want to discard your changes, you can just drop/delete the stash.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG