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

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events