I checked out one of my older commits with git checkout. Now I want to push this commit but keep getting errors. After I try to git push:
I tried:
git push origin HEAD:new branch
But that didn't work. I've tried a lot of combinations of stackoverflow answers but can't figure it out.