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

discard files Edited

hi there, is the way to backup or undo discarded files in the source tree?
can you help me, please?

1 answer

0 votes
Ana Retamal Atlassian Team May 29, 2018

HI Shima,

Git is a backup system itself so after accidental deletion or modifications it will be able to bring the files back. If you still want a physical backup, you can just copy the .git directory to a different location. For more information about how Git works, you can read Git backups.

As for undo changes, you can reverse a commit in Sourcetree by right-clicking on the commit.

If you were referring to something different, please let us know and we'll be happy to continue helping you.

Kind regards,

Ana

hi Ana,
I really did not understand what should I do and how can I undo my file,
can you help me? thank you

Suggest an answer

Log in or Sign up to answer
TAGS
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,927 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