Date post: | 20-Jan-2017 |
Category: |
Documents |
Upload: | anup-prakash- |
View: | 84 times |
Download: | 2 times |
Distributed Version ControlGIT AND SALESFORCE
Audience• Software Developers• Best Practice enthusiast• Someone who does not like filthy code base• Learners
What's- in-it-for me?• Knowledge of Distributed Version Control• Knowledge of Git Commands• An excellent tool (Git)• A badge of pride to have acquired a best practice
knowledge• SDLC knowledge• Endow and Execute
Topics• What is VCS• Examples• What is CVCS• Examples• What is DVCS• Examples• What is Git
• Git Commands • Salesforce Development
and Git• Apache Ant• Deployment• Q&A
Version Control SystemVERSION CONTROL AND EXAMPLES
VCS Functionalities• Allows developers to work simultaneously• Does not allow overwriting each other’s changes.• Maintains a history of every version.• Allows rollback of code.
Different Types of VCS• Centralized Version Control Systems• Distributed Version Control Systems
Centralized Version Control Systems• What is CVCS ?• When to use CVCS.• Workflow of CVCS.• Relation between Salesforce and CVCS.
Centralized Version Control SystemsExamples
• SVN• Perforce• CVS
Distributed Version Control System• What is DVCS ?• When to use DVCS.• Workflow of DVCS.• Some Examples and business processes that use DVCS.
Distributed Version Control SystemExamples
• Git• Mercurial
Comparing Development with/without a DVCS powered environment.
WITH DVCS(GIT+ SALESFORCE)
• Can Perform Rollback• Developer Friendly• View Code History• Partially easy to use• Is of Industry Standard
WITHOUT DVCS(SALESFORCE DEVELOPER
CONSOLE)• Can not Perform Rollback• Not Developer Friendly• Can not View Code
History• Easy to use• Is not of Industry
Standard
Git Commands• git config• git init• git clone• git add• git rm• git commit
• git push • git pull• git fetch• git reset [commit]• git log• git merge
Implementation with Salesforce Development
Developer and SandboxEach developer gets his/her own Developer Sandbox
BranchingSprint and Features
Pushing and MergingCode Review and getting ready
Testing and DeploymentAnt Migration, Testing and Debugging.
UAT and Go LiveSprint Completion
References
• https://git-scm.com• https://
www.tutorialspoint.com/git/git_tutorial.pdf• https://www.atlassian.com/git/tutorials/
what-is-version-control/• https://www.atlassian.com/git/tutorials/• https://en.wikipedia.org/wiki/List_of_ve
rsion_control_software• https://services.github.com/kit/downlo
ads/github-git-cheat-sheet.pdf
Q&A
Thank You