0

Just one question. Is there a way of getting it all back? If so how? I was able to retrieve some of the files from the recycle bin but a lot are still missing. Help.

Kasia Wichrowska
  • 311
  • 2
  • 5
  • 16
  • Are the changes committed? – juanpa.arrivillaga Feb 22 '17 at 00:10
  • Yes. I have all the necessary files and backups as well. I've been using bitbucket so everything there remains the same and untouched. Everything that was linked to my Documents folder was gone, partially retrieved it but not all of it. My experience with it is not overly extensive therefore I'm panicking. – Kasia Wichrowska Feb 22 '17 at 00:14
  • 1
    I might get flamed for saying this, because there is probably a better way to just reset, but I would clone the repo. Go make a new directory, something like "my_project_copy" and then `git clone https://usersname@bitbucket.org/username/reponame.git` – juanpa.arrivillaga Feb 22 '17 at 00:21
  • I'll give it a try, thanks! – Kasia Wichrowska Feb 22 '17 at 00:29

1 Answers1

1

If all your work was commited and pushed to bitbucket, there is no problem. As juanpa.arrivillaga stated in the comments, you can just do a fresh git clone.

This is one of the big antvantages of centralized source control: no matter what happens to your local copy, you can restore the server side repository state any time.

kowsky
  • 12,647
  • 2
  • 28
  • 41