I am facing issue to get back my previous commits, as soon as I used --f to push it shows just that commit where I used --f and earsed the previous ones. is there any way or any how to get back my commits history?
when I get back to link of the previous commit it shows this msg:
"This commit is unreachable from any branch or tag in this repository. It may be from a fork outside of this repository.
"
the code I used to push : git push -f origin master