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

How to browse code to see current state of repo for a commit?

johnbarnaby October 26, 2014

Is there a way to 'Browse code' within Sourcetree like what you can do on GitHub to see the current state of the repo for a particular commit?

1 answer

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 Leaders.
October 26, 2014

If you right-click on a file in the bottom part (where it shows what changed in a commit), there is an "Open selected version" option.

Also, if the code is hosted on Stash (or GitHub smile), you can browse the code very nicely on the web interface.

Seth
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 Leaders.
October 26, 2014

Or Bitbucket.

johnbarnaby October 27, 2014

Thanks for your comments where I was hoping that I could browse the current state of the repo within Sourcetree like what is possible on GitHub which is much easier than browsing each file individually. If this is not possible on Sourcetree it would be great if this feature was available on the Bitbucket web interface like it is on the GitHub web interface where it is so easy to view the entire repo for a particular commit through 'Browse code.'

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 Leaders.
October 27, 2014

As Seth remarked above, it is possible on Bitbucket. Go to the Source/Browse tab.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events