Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cloning to wrong file deleted existing data.

Marc Boerdijk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 12, 2018

I created a git repository on github which I then proceeded to clone to a local repository with Sourcetree. The problem being I accidentally cloned it to the wrong directory and it then proceeded to overwrite everything in the file without a warning. Is there a way to regain this data? The data does not seem to exist on the computer anymore.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 13, 2018

Hi Khaine, welcome to the Community!

Where did you clone it to? Was it another repository? If so, you should be able to revert the operation. You can learn more about it in our tutorial and in the Git official documentation.

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events