Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm getting into freelance web design and I have a team of several people. I was wondering what is the best tool (preferably free) to share code with other members of the team, allow them to edit it etc. A way for us all to work fluidly.

share|improve this question

closed as not constructive by gnat, Dynamic, MichaelT, Martijn Pieters, Dan Pichelman Jun 15 '13 at 17:43

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
For javascript etc related jsfiddle.net this is by far the best tool! And pastebin.com for simple code exchanging :) –  Kalle H. Väravas Jul 27 '11 at 6:32
    
If you and your team are co-located, just set up a local VCS repository (git, Mercurial, whatever). It gets a bit more complicated if you need access from internet. In that case, I would recommend just paying for the service. For instance GitHub is just great, and IMO, really not that expensive if you are doing professional development. –  merryprankster Jul 27 '11 at 6:54

3 Answers 3

If versioning control is too complicated for your team, you might want to consider DropBox?

This allows multiple computers to share a common set of files. Any update will be mirrored out to all participating computers, and - opposed to a shared network drive - you have a local copy.

Note: Make regular local backups. DropBox is not a replacement for versioning control.

share|improve this answer

Any distributed version control system should work well, but I'm familiar with Mercurial so let's go with that.

If people in your team prefer using a GUI over the command line, I recommend TortoiseHg, which installs Mercurial for you. Otherwise, install Mercurial yourself.

This tutorial is a good place to learn about Mercurial. It uses the command line, but people who plan on using TortoiseHg should read it too. It explains the concepts behind distributed version control, which I think is more important than learning any particular tool such as Git or Mercurial.

If your team has 5 or less members, then you can host an unlimited amount of private repositories at bitbucket for free. If the team is larger, you can pay for more users, find another free host, or host your own repositories, which isn't too difficult.

share|improve this answer

You should be looking at sharing code via a version control system. Private Mercurial repositories can be hosted for free at Bitbucket, or Git repositories can be hosted at Github.

Alternatively, you can set up your own server for hosting repositories, and everyone can access them from there.

share|improve this answer
    
Alright that's what I was wondering thank you! Github seems much more popular at least from my understanding. Unfortunately you have to pay for private repositories I believe. And bitbucket says it offers private for free so that's where I'll go. –  Emil Maes Jul 27 '11 at 6:38
    
Just tried out all this Mercurial stuff! My god am I confused. This is proving very difficult. I've installed so many programs, watched so many videos. This is very frustrating. Any good tutorials for Mercurial and bitbucket? The documentation is useless... –  Emil Maes Jul 27 '11 at 7:48
    
@Emil Maes: hginit.com might help you out. If you're on a Windows system, you might also find things like TortoiseHg help you out tremendously. –  sevenseacat Jul 27 '11 at 9:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.