Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,718
Community Members
 
Community Events
168
Community Groups

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

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

1 answer

0 votes
Mateus T Atlassian Team Aug 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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,498 views 3 10
Read article

Atlassian Community Events