I just made a perfectly good commit to the wrong branch. How do I undo the last commit in my master branch and then take those same changes and get them into my upgrade bran
If you run into this issue and you have Visual Studio, you can do the following:
Right-click on your branch and select View History:
View History
Right-click on commit you want to go back to. And Revert or Reset as needed.