How can we have more than one user access the same repository in sourcetree? I saw this question answered already but the instructions are outdated. I've managed to create multi user access to these file commits in Bitbucket so far, but we all need to be able to commit and push from sourcetree.
I'm a bit confused. Would these multiple people be working on their own individual workstations with a copy of SourceTree installed? If so, there should be no problem. Git is a distributed version control system. Your centralized repo is on Bitbucket, then each developer clones a copy of the repo to their own workstation, uses SourceTree or the git command line to add commits, and then pushes back to the centralized repo.
I am actually interested in this as well.
In our case i have a local repository on one of our servers. I created the repository and access it through source tree. Someone else needs to access it as well through source tree. I put their login in the Bitbucket team so they can access it there, but when i added the working copy to his source tree it prompted for my login. Any thoughts? Or should i be looking for this in a Git forum instead of an Atlassian one?
That makes sense, but say i have a folder in the website that is not really managed with the other code. It contains files that are not in the solution, so wouldnt get deployed when i build the site. I used a repo where the local is mapped right to the server drive. Im not the only one who needs to be able to manage this repository. And this folder does need to be in source control. I have to avoid the he-said she-said problem when images or js files change.
If the repo is on your web server you can't really call it "local".
Each person should have a "local" clone of the repo on their personal workstation. They should do their work in their own local branches and make sure their changes are good somehow (test server separate from the live web server) and then either merge and push their changes (or make a pull request to whoever is in charge of the project) to Bitbucket and then ssh into the web server and
git pull to update the website.
There is no "he-said she-said problem" with version control. Each user should have their own identity configured with their name and e-mail address and each commit identifies the person who made it and each line of each file can tell you which commit last changed it.
That is how it is set up, all save for the part where I want to avoid having this guy ssh onto the web server to do the pull. Im already getting enough flak from him because he needs to even check stuff in.
And the repo on the server is the local one in git, thats why i said it was local. I understand that the local should be directly on your machine. The way i set it up was to have the "local" repo come down to a network drive.
Is there another way i could have him initiate the pull remotely?
I do apologize for getting a bit out of the scope of this post, but i appreciate the input.
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 ...
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