You will rapidly get frustrated with the GUI when trying to do anything but the simplest stuff with Git. This is one of those times where you do something more complicated, and you need to use the terminal ;). Run:
git checkout master
git reset --hard Shade/master
Note that this will destroy any uncommitted work.
Now master
will point at the commit that Shade/master
is pointing to. This is the answer to your question. But! There is a catch that you should consider. By restting your master
behind origin/master
, you've created a situation where you can't push to origin/master
anymore, because origin
would reject the non-fast-forward push. What you have to do is "dummy merge" origin/master
into your local copy, like this:
git merge --ours origin/master -m "Fix botched work"
The --ours
flag discards any changes in the other branch that might otherwise have been merged in. Now you can push without origin
complaining.
Hope that helps!