git: committed to wrong branch
Hi. I created a new branch in my project with "git branch game-structure" representing some massive, broken structural changes. I committed the changes, but I forgot to switch to the new branch first, so changes were committed to the master branch. I definitely don't want the changes in the master branch. What is the easiest way to transfer the changes into the new branch?
I haven't published (git push) to our central repo yet, so my mistake is still local to my repo.
|