Ive also verified that doing some change, and making a follow up commit off of the branch checked out from detached head and then trying to merge it back did not solve the problem either.
Checking out either of those two branches that were checked out from detached heads has what im looking for… Yet when I merge them to master I still dont have my styles.
I wish I knew a better answer as this has happened many times before. Ill make a mistake and then later realize I have to go back to some commit. My solution is always to checkout the detached head as a new branch, set that checked out branch as the new main branch, delete the master branch, and then rename that to master.