I have a directory on my Windows machine with some source code that I want to share with a couple of other people to develop it further together. I am thinking of using git, but since I want this repo to be (1) private and (2) free, this seems to rule out using GitHub.
So here's my plan (I am fairly new to git so may not be using the right terminology): 1. Set up a remote machine and give everyone in our group access to it 2. Host the git repo on that machine 3. Hook up IDEs on local machines to that repo
For #1: I set up an AWS account and fired up a micro Ubuntu instance (should be enough since the amount of code is small and we're not planning to run heavy jobs on that instance).
For #2: I started by scp'ing my code to the remote machine, so there I now have my code in /home/ubuntu/dev/mycode/
.
What do I do next? That is, how do I turn /home/ubuntu/dev/mycode/
into a remote git repo, which I can then clone onto my local machine or hook up to it from IntelliJ or Eclipse?
Important points in your question:
Private repository
Free
Couple of other people
Bitbucket is what you need. Try it.
To push your existing project to bitbucket, this is all you need to do.