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.
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).
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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!
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