3
I was doing a reversal of a version, but unintentionally pressed 2 times undo in git dekstop, but the files I created before all went to space. Lot of logic and time lost. There is the possibility to recover these files ?
3
I was doing a reversal of a version, but unintentionally pressed 2 times undo in git dekstop, but the files I created before all went to space. Lot of logic and time lost. There is the possibility to recover these files ?
Browser other questions tagged git github
You are not signed in. Login or sign up in order to post.
You have access to the command line?
– Jefferson Quesado
Were the files already committed? Or were they still untracked?
– Jefferson Quesado
Yes. They were committed,.. I do have access to bash
– user103973
I believe that this is a similar problem to this one: https://answall.com/q/216458/64969 .
– Jefferson Quesado
I couldn’t abstract the solution. I’m new to git. List the sha. But I can’t recover them
– user103973
Has
gitk
? For each SHA1 obtained, givegitk <SHA1-obtido>
to try to give a visual hint of what is happening– Jefferson Quesado
Thanks friend. I managed to solve my problem... It seems that I had died after that. But now I feel light again.. Have you thought over 1000 lost lines ?.. This will help me not to make this mistake anymore
– user103973
I know, I’ve had to do that, too. I will mark as a duplicate of that question Inkei, because in my opinion it was her answer that guided you to your solution
– Jefferson Quesado
Yes.. It was through her that I was able to solve
– user103973