I was trying to make a current branch the master and keep masters history by following this:
git checkout better_branch
git merge --strategy=ours master # keep the content of this branch, but record a merge
git checkout master
git merge better_branch
but somewhere along the line I messed up and before checking I deleted the better branch (moronic I know). Now I have the commit number of the branch I deleted in the state I wanted it but i dont know if/how I can bring it back. I did a git reset --hard 7585773 but it only reset master(i think). Is there anyway to get my branch back or make master have that branches changes or have I lost them?
this is my git log
commit 758577310015683cd2de688afe0aeb0638eef507
Author: Regan <xxxxxx@gmail.com>
Date: Tue Mar 3 11:10:19 2015 -0800
add angular files, setup config file, add backstrech