I am the current sole developer for a volunteer developed/supported content management system used to produce free websites for over 10,000+ Toastmasters public speaking clubs around the world. I am trying to create a workable development framework that will allow for easily collaborating with additional developers in the future. As this project has been done strictly with open source tools and volunteer labor to date using a single server (no separate dev server), the code used to be a mess. I do have multiple revisions of code, but as we have not had any version control to date, everything is currently organized by date coded filenames and folders.
We have installed git on our single AWS server and I have gotten a free 5 person Bitbucket account. I have SSH and FTP access to the server.
What I would like to set up is having the repository on the server be the master repository and have BitBucket as a backup and for collaboration. I have installed sourcetree.
I am struggling to get this set up properly. I think I have the connection between BitBucket and SourceTree set up properly, but I am at a bit of a loss to get SourceTree set up to connect to the repository on our server. I cannot use http for that as the git repository is not on the http:// path.
Any assistance or insights on how to move forward are greatly appreciated.
On the client side of this, it sounds like you are going to want to set up two remotes in SourceTree, Bitbucket and your AWS server. You could also set Bitbucket up as a remote of the AWS server repo, and you can choose which of the two should be the remote for developers, there are advantages both ways.
To get the AWS server working as a remote, check out Chapter 4 of the Git Book, specifically section 4.4: http://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server. Basically, if you use the ssh:// protocol, there is little that needs to be done besides having SSH access.
The info here may also be useful if you are trying to avoid needing to run any git commands directly on the AWS server: http://stackoverflow.com/questions/7152607/git-force-push-current-working-directory
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