Apex Code Version Control

2019-04-06 18:37发布

问题:

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.

回答1:

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.

  • Setting up Subversion (Windows)
  • Installing Force.com IDE (Eclipse)
  • Installing Subclipse (Eclipse plugin)
    • Use the update site when installing in Eclipse - similar to the instructions here


回答2:

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.