2

Lost all of my progress because i checkout to other branch without push it before. Is there anything that i can do to retrieve it back ?

#NoobQuestion

Comments
  • 3
    But did you committed locally? If yes no problem. Check back the branch again.

    If you did something that lead to you commits being rebased / lost. No worries. There is still hope. Check git reflog. Unless you do git prune you don't loose them.
  • 1
    You should have a look at stashing your code if you arent planning on committing locally, it might be useful like in my case when updating off the develop branch then stashing and branching off and applying the stashed changes
Add Comment