6

Fuck, fuck, fuck, fuck!!!
I fucking forgot to commit changes before pull, fuck! How do I get my files back.......plz

Comments
  • 0
    ehm.. is that really a problem? 🤔
  • 0
    @2erXre5 Problem is I don't know how to do it...
  • 3
    CTRL+Z on your IDE.
  • 0
    @Rabbyte IDE closes files when they are deleted...
  • 0
    if you haven't used "git pull --rebase" your changes should still be there. and then you can git add and git commit your changes.. or not? you made me confused 😉
  • 0
    @2erXre5 I am not sure, will this bring my files back?
  • 1
    @lamka02sk I don't know. All I am saying is that git pull "should not" delete any uncommitted files, but it is discouraged to use git pull that way. So I guess that the files are still there, but maybe not if you have renamed existing ones. Depends all on your use case (which I don't know currently).
  • 0
    @2erXre5 I created few new files, these files were added to git with git add, but I forgot commit any changes. Then I pressed pull button, left settings as usual - branch default and .... new files I created today are all gone.

    In IDE I got this error after pull:

    Unstash failed

    Some untracked working tree files would be overwritten by unstash.

    Please move or remove them before you can unstash.
  • 1
    Ok, I did it. But any command I tried worked, so I decompressed files manually from git objects.
Add Comment