Background
What I have Done
git reset --hard COMITIDNAME
Pop up ERROR message
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/HEAD:refs/heads/HEAD
Pushing to https://github.com/myusernameongithub/myprojectnameongithub.git
error: src refspec refs/heads/HEAD does not match any.
error: failed to push some refs to 'https://github.com/myusernameongithub/myprojectnameongithub.git'
Completed with errors, see above
Goal
What I have tried/looked up
Solution
git reset --hard COMMIT_NEMUR_AND_LETTERS
this jumps you back to that given branch and deletes everything above it.