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,300,786
Community Members
 
Community Events
165
Community Groups

How do I get local files to reflect a specific commit point?

Edited

I just set up a repo to use with Unity, Sourcetree as the git client. Something I'm not clear on is testing Unity at different commit points. So for example, a separate branch is created for a sprint, someone else makes changes, does a commit, and it needs to be tested on my end. I'm expecting in Sourcetree that I can select that point, perhaps in history, and then the files locally will change to reflect that snapshot. So then I could just launch Unity for that project and it can only access the files that were available at that particular commit. Am I understanding the concept correctly? And how do I do that?

The concept is using only one installation of Unity, one repo, but able to test at any point, in any branch, along the development process. Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg Community Leader Sep 22, 2020

Hi @bledigstudios,

Welcome to Atlassian Community!

To checkout a specific commit, locate it in the History view, right-click and either create a branch or checkout the commit. If you need to come back to the commit multiple times I would recommend that you create a branch. 

I like it! It works well, thank you.  :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

62,787 views 128 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you