How can I use Sourcetree on multiple devices?

I have just begun using Sourcetree however I work from multiple locations on multiple devices. My repository is stored on OneDrive so that I have access to it from which ever computer I'm working on and it is always up-to-date.

Is there a way I can configure Sourcetree to allow me to connect and work with this repository on any device I'm at?

I have tried and the install works fine and Sourcetree recognises the repository with no problem. However when I start making changes to files on one machine it begins throwing up numerous different errors either on that machine, or in Sourcetree on the machine not being used.

Any help would be much appreciated.


1 answer

1 accepted

0 vote
Timothy Chin Community Champion Jun 05, 2014

I am guessing not. You won't find too many application that does that kind of thing.

Agreed. If you insist on sharing your repo with OneDrive (or any other file sharing service) you should at least make sure SourceTree is only running on one machine at a time. While it may make sense to you (James) to keep your working copy in sync that way, it sounds to me like you are asking for corruption of the hidden git files that are also part of your repo.

Ok, I understand what you are saying. Just to check, is it fine to have source tree working from the same cloud saved repository, so long as it's not open on two machines simultaneosuly i.e. can I turn Sourcetree on and off based on the machine I'm using? If not, is there an alternative that provides a central repository and allows the kind of usage scenario I'm looking for.


I won't say it is "fine" to do what you want as long as you only have SourceTree active on one machine at a time, but it is more likely to be.

Pretty much any version control system worth its salt will support a centralized model, including Git. The catch is that none of them (for good reasons) will update your working copy automatically. You need to push/pull, commit/update, etc.

If you like SourceTree and Git, you can use Bitbucket or GitHub as a central repository. Bitbucket in particular will have some SourceTree-specific instructions (both are owned by Atlassian).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

799 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you