It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cloning to wrong file deleted existing data.

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 Dec 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!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,910 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you