While on a branch (test
) I accidentally hit git branch master -f
in an attempt to switch to the master branch... seconds later I saw my error and checked out master
branch with git checkout master -f
, and saw that the previous command seemed to have completely replaced the master
branch with the test
branch.
How can I reset master
to it's previous state?
Thank you for your help.