The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I undo a checkout?

Jeffrey_Bertrand
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!
February 19, 2015

I have very little experience with SourceTree. I had a branch I was working on and while looking back I hit checkout on it (hindsight no idea why). Anyway I can't see my most recent commits.. Is there a way I can go back?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
February 19, 2015

This solution from StackOverflow is probably wrong, you just have to check out the branch where you made the commits originally. (Double-click the branch name.)

0 votes
Jeffrey_Bertrand
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!
February 19, 2015
TAGS
AUG Leaders

Atlassian Community Events