I did a bit of development against the wrong branch in my local repository. I did a git branch
without next doing a git checkout
. The commands look something like this:
#On branch development
git branch release-v0.2.0b
# changes and several commits
git push origin release-v0.2.0b
And that's when I realized I was working on the wrong branch. My github repo is in the proper state, but my local repo isn't. I've merged the changes from development into release-v0.2.0b, but I'd like to reset development back to the way it is in my github repo. What's the best way to go about this?