function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC DevlSFDC Devl 

Source control for Apex

Hello,

I am looking for a tool for versioining Apex code. I have looked at Perforce and in the process of figuring out the implementation part. Has anyone used Source Tree/Git? Any suggestions on Perforce vs Source Tree?

Thank you for your help in advance!
pconpcon
The actually source control method doesn't really matter, the difficult part is getting the data into source control and maintaining good code hygine around that data.  I would recommend reading over this [1].  The article covers a little bit of how to get the data down and how to do a workflow with git with distributed teams.

As for tooling specfic questions, it doesn't really matter as long as you can get the git repo underneath out to another host.  Personally I prefer github or bitbucket but I have not used Perforce or Source Tree

[1] http://blog.deadlypenguin.com/blog/2014/07/21/using-git-with-salesforce-and-distributed-teams/
SFDC DevlSFDC Devl
Thanks for your response pcon! I will look into the article.