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

discard files

shima_abt May 26, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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

shima_abt May 29, 2018

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
AUG Leaders

Atlassian Community Events