8

Is there any way to integrate version control system for Apex & Visualforce code? I can thinking of keeping a separate repository but no way to have it integrated with Salesforce Platform.

Thanks in Advance.

Mitul Makadia
  • 398
  • 6
  • 24

2 Answers2

9

You can do this by using Subversion and the Force.com Eclipse IDE with the Subclipse plugin.

Here are a few links to some instructions.

Matt K
  • 7,207
  • 5
  • 39
  • 60
  • This is the approach we took also, it's not integrated with the platform itself, but it does mean we have a back and full history available to us when we need it. – Matt Lacey Nov 07 '11 at 21:09
  • Thanks Matthew! I will try using that approach. – Mitul Makadia Nov 08 '11 at 11:57
  • Recently, there have been [issues](http://boards.developerforce.com/t5/General-Development/Eclipse-Force-com-IDE-Plugin-Install-Error/td-p/242577) installing the IDE to the "Program Files" folder on Windows. If you run into an error, install the IDE to C:\ instead. – Matt K Mar 06 '12 at 17:40
6

If instead of using Subversion, you wish to use Git (lots of the community code is hosted on GitHub where you can get it for free) then have a look at this Dreamforce session and some hints and tips about how best to use Git and Force.com together here.

pbattisson
  • 1,230
  • 2
  • 10
  • 24