I have several test systems where multiple users may login and pull latest tests and run them, as well as make changes and push back to the repository. We use Bitbucket and Sourcetree with Git. We are using SSH and not Mercurial.
For example, I want to be able to have UserA log into the system, and pull the latests tests, and also change tests and push them back. UserB then logs in later and does the same thing. But, all against a single repository on that system(i.e. when either user pulls, it goes to C:\Tests).
What is required for this scenario? Can the same instance of Git be used, or do they need their own? Each user needs their own SSH key? Can they use the same instance of Sourcetree, but with different logins?
I believe what you are talking about should be doable, but all your obstacles are going to be in the OS, not SourceTree.
For starters, you'll need to make sure all potential users have read/write access to the repository directory and all subdirectories (including the hidden .git).
You'll also probably need to make sure the private key is accessible to all of the users. If you'd rather have per-user private keys, make sure to use an ssh agent (Pageant) that is configured to automatically start and load a key per user. You can use these instructions to make the shortcut, and put each user's shortcut in their personal startup folder. You also obviously need to register all the public keys into BitBucket.
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