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 to extract an older version on Master branch using Source Tree?

Arvind Sai
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!
August 15, 2022

How to extract an older version on Master branch using Source Tree

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mateus T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2022

Hi @Arvind Sai,

Welcome to the Atlassian Community!

My understanding is that you would like to have a snapshot of an earlier version of a repository through Sourcetree. In this case, you can perform a git checkout to a specific commit in the branch Master's history.

Just navigate to the commit's history of this specific repository, find the desired version/commit, right-click on that commit and choose Checkout...

After filling in the required fields, your local repository will be at that specific version/commit, so you can create a copy, push it to a different remote, or do anything you would like to preserve that version.

After you have done this, you can simply checkout the HEAD commit once again to have your local repository back to normal.

Cheers,

Mateus T

TAGS
AUG Leaders

Atlassian Community Events