Friday, 6 September 2013

How return previous stage after using git reset --hard?

How return previous stage after using git reset --hard?

Sorry, but i recently started usiong git. Could You help me in this
trubble: I have 2 local branches: master and another_branch. This branches
have few commits on server. My tracked branch: another_branch. I use git
reset --hard and curent branch loose all current local commits. But on
server all is no different. How i can return previous stage before using
hard reset?

No comments:

Post a Comment