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

Retrieve working copy

RaynoldTanYX February 19, 2015

Hi I'm new to SourceTree and i clicked on a branch by accident and it checked out that branch, overwriting my working copy. Is there any way to retrieve my work back?

1 answer

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2015

If you double-click on the original branch to check out that one, you should get (almost) all of your changes back. (There would have been a warning before anything is properly destroyed,)

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2015

Most changes that weren't committed will be gone. However, as Balazs mentioned, SourceTree would have warned you about that before allowing you to checkout another branch.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events