I'm using Github Desktop because I don't understand git very well.
All I did was change some code in one branch then, without committing my changes, switched to my master branch (bringing along all my uncommitted changes). Now when I try to go back to the original branch with the same uncommitted changes, Github Desktop gives me an error:
"error: you need to resolve your current index first"
I believe it thinks that I'm trying to merge code into my master branch? Although I'm pretty sure I never had uncommitted changes resting in the master branch before hand.
I can see all my changes are in inline in the master branch code but with extra lines like "<<<<<<< Updated upstream" and ">>>>>>> Stashed changes" that surround them.
I'm not sure what do to as I don't want to merge the code like this if that's what it's really asking me to do. I just want to move my changes back to the other branch as if I had never moved them in the first place.
And again, since they are uncommitted changes, I can't just revert. Right?
I don't know what compelled me to bring my changes to the master branch in the first place anyways.