I accidentally saved a file on the wrong branch. Then I did git reset --soft HEAD^ and now git status says I'm behind by 14 commits and lists a bunch of modified files in red. Including some untracked files.
I have no idea what to do. I tried to go to the latest commit from the remote repo but it says my local changes would be overwritten after I do git pull.
Help. I don't wanna mess up my local repo even more. I just want to get back to the state I was in, save the edited file in the correct branch, and commit.