Git Revert Error

Hello,

I saved a new level change in my Source Tree called practice commit so I could revert to TG4 MArketing. I was able to revert back to TG4 but the practice commit stilll had my GitHub/master and master branches. I figured when I made a new change and commited it would set the newest commit to the master branches.

It is saying my newest commit is the Head. If I hit push it gives me this error, git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream GitHub “(HEAD detached from 3fc1628):(HEAD detached from 3fc1628)” master:master
Pushing to https://github.com/ryan326/TestingGrounds.git
fatal: remote part of refspec is not a valid name in (HEAD detached from 3fc1628):(HEAD detached from 3fc1628)
Completed with errors, see above.

Please help

Privacy & Terms